Hi Team am not able to connect my go program with mysql. Getting the below
error.
I have attached main.go file for your reference
2019/10/11 17:11:42 http: panic serving [::1]:59577: Error 1045: Access
denied for user 'root'@'localhost' (using password: YES)
goroutine 74 [running]:
net/http.(*
Does the user 'root' have the permission to access the database on the MySQL
server running on 'localhost'?
Note that this is not a Go problem but a MySQL problem. You should try to
access the database using the mysql command line client berfore using it in an
application.
Lutz
__
Hello,
As a new golang user who wants to program go proxies,vpns to bypass
censorship.
What areas should I focus on while learning go.
Should I stick to the net package or do I have to learn the whole standard
lib of the language.
thanks.
--
You received this message because you are subscribed
On Fri, Oct 11, 2019, at 20:55, Dimas Prawira wrote:
> Stable Version : github.com/go-resty/resty/v2
>
> got 404 (not found)
That is a Go import line with a module major version suffix, not a
GitHub URL. The fact that they look the same instead of using some other
syntax is extremely annoying,
Hello gophers,
We plan to issue Go 1.13.2 and Go 1.12.11 on Wednesday, October 16.
These are minor releases to fix security issues.
Following our policy at https://golang.org/security,
this is the pre-announcement of those releases.
Cheers,
Katie on behalf of the Go team
--
You received this m
Over 10 years ago Gustavo Niemeyer invented the geohash geographic
hashing system https://en.wikipedia.org/wiki/Geohash for clearly and
concisely representing geographic locations at arbitrary precision.
Now, here is geocrypt, a package that returns or checks a cryptographic
hash of a geolocation.
On Fri, Oct 11, 2019, at 21:24, Dimas Prawira wrote:
> Just test using got get
You appear to be using an old version of Go that doesn't support modules
or have it turned off or set to auto using the GO111MODULE environment
variable. If you upgrade to Go 1.13 and make sure GO111MODULE isn't set,
it
Thanks, I'll check it out.
Cheers
Dimas
On Sat, Oct 12, 2019 at 4:32 AM Sam Whited wrote:
> On Fri, Oct 11, 2019, at 21:24, Dimas Prawira wrote:
> > Just test using got get
>
> You appear to be using an old version of Go that doesn't support modules
> or have it turned off or set to auto using
Are you using Go 1.13? Version validation is done as part of Go 1.13 (
https://golang.org/doc/go1.13#modules). In Go 1.12, this would have
succeeded.
However, if a goproxy has this version, then a go get will be successful.
Example: https://search.gocenter.io/github.com~2Fbilibili~2Fkratos/info
Cool stuff!
> On Oct 11, 2019, at 4:22 PM, Dan Kortschak wrote:
>
> Over 10 years ago Gustavo Niemeyer invented the geohash geographic
> hashing system https://en.wikipedia.org/wiki/Geohash for clearly and
> concisely representing geographic locations at arbitrary precision.
>
> Now, here is g
Hi,
Given a command execution like "cmd := exec.CommandContext(ctx, "go",
"run", file)" playground reports the following error:
child error: exec: "go": executable file not found in $PATH
Could it be solved by specifying a full path for 'go', which path shall I
use? Thanks a lot.
https://pla
The Go playground does not allow running arbitrary external commands. No
doubt primarily for security reasons. But also because the playground
environment is not a complete virtualized OS. For example, try to execute
exec.Command("/bin/ls", "-la")
You'll get a "not implemented on nacl" error. See
Thanks Kurtis.
On Saturday, October 12, 2019 at 12:09:52 PM UTC+8, Kurtis Rader wrote:
>
> The Go playground does not allow running arbitrary external commands. No
> doubt primarily for security reasons. But also because the playground
> environment is not a complete virtualized OS. For example,
Thank you Sam for responding to the query.
@Dimas - You could use Resty library via go mod as well as without it.
If you would like to use Resty v2, it is exists on master so simple do "go
get github.com/go-resty/resty". You will get v2 code base.
If you would like to use it with go mod, you ne
14 matches
Mail list logo