On Wed, Apr 24, 2019 at 4:22 AM Robert Engels wrote:
> Though to the ops point, not sure why Go doesn’t have the ternary operator
> - which is pretty ubiquitous.
>
https://golang.org/doc/faq#Does_Go_have_a_ternary_form
>
> On Apr 23, 2019, at 9:56 PM, Robert Engels wrote:
>
> Why? You have sa
One way around the flag problem is to accept an interface, instead of using
testing.T.
Watch Mitchell Hashimoto's talk from GopherCon from about 39m30s:
https://youtu.be/8hQG7QlcLBk?t=2368
http://github.com/mitchellh/go-testing-interface
On Mon, Jul 24, 2017 at 1:44 AM, roger peppe wrote:
>
>
Hello gophers,
We have just released go1.9rc1, a release candidate of Go 1.9.
It is cut from release-branch.go1.9 at the revision tagged go1.9rc1.
Thank you to everyone who has helped to test Go 1.9 so far.
We still need more people to test, especially on production workloads.
Your help is invalu
Hello gophers,
We have just released go1.9rc2, a release candidate of Go 1.9.
It is cut from release-branch.go1.9 at the revision tagged go1.9rc2.
Thank you to everyone who has helped to test Go 1.9 so far.
We still need more people to test, especially on production workloads.
Your help is invalu
Hello gophers,
We just released Go 1.9.
You can read the announcement blog post here:
https://blog.golang.org/go1.9
You can download binary and source distributions from our download page:
https://golang.org/dl/
To compile from source using a Git checkout, update to the release with
"git ch
Hi gophers,
Two security-related issues were recently reported.
To address this issue, we have just released Go 1.8.4 and Go 1.9.1.
We recommend that all users update to one of these releases (if you're not
sure which, choose Go 1.9.1).
The issues addressed by these releases are:
By nesting a g
Hi gophers,
We have just released Go versions 1.9.2 and 1.8.5, minor point releases.
These releases include fixes to the compiler, linker, runtime,
documentation, go command, and the crypto/x509, database/sql, log, and
net/smtp packages. They include a fix to a bug introduced in Go 1.9.1 and
Go 1
You can use a main package.
package main
import (
"net/http"
"google.golang.org/appengine"
)
func main() {
http.HandleFunc(...)
appengine.Main()
}
On Wednesday, November 1, 2017 at 12:04:14 AM UTC-7, Tamás Gulácsi wrote:
>
> Just move your main to a realmain pkg, and have a shim th
Stack Overflow is the best place to ask questions for GCP.
The documentation does describe how to authenticate to this API. If I
recall correctly, API keys are not supported.
On Dec 21, 2017 2:46 AM, "Sathish VJ" wrote:
I'm trying to make an api call to google vision api using an api key from
See the errors proposal here:
https://golang.org/design/29934-error-values
Implementation in tip (available in 1.13 beta)
https://tip.golang.org/pkg/errors/
Implementation in x/xerrors (backwards compatible):
https://godoc.org/golang.org/x/xerrors
xerrors - GoDoc
On Mon, Jul 8, 2019, 9:54 AM Ro
Is this the issue you came across the other day, Jean?
On Fri, Sep 13, 2019, 11:32 PM Antoine Mercadal wrote:
> Hey,
>
> Then why is it called mvs? I don't understand what package system would
> give me 1.3.49, if I require 1.2.0 and my dependency requires 1.1.0.
>
> I'll read a bit more about i
Hi gophers,
We have just released Go version 1.7.1, a minor point release.
This release includes fixes to the compiler, runtime, documentation, and the
compress/flate, hash/crc32, io, net, net/http, path/filepath, reflect, and
syscall packages.
https://golang.org/doc/devel/release.html#go1.7
Hi gophers,
We have just released Go version 1.7.3, a minor point release.
This release includes fixes to the compiler, runtime, and the
the crypto/cipher, crypto/tls, net/http, and strings packages.
https://golang.org/doc/devel/release.html#go1.7.minor
You can download binary and source dis
You're right, it's racy.
I'll update the sample.
file.DefaultBucketName will indeed return the same result every time
(unless the default bucket is updated in the App Engine admin console).
On Tue, Nov 8, 2016 at 12:40 PM, Greg Jones wrote:
> You're not wrong, that code isn't a safe use of a p
Hello gophers,
We have just released go1.8beta1, a beta version of Go 1.8.
It is cut from the master branch at the revision tagged go1.8beta1.
There are no known problems or regressions.
Please try running production workloads and your unit tests with the new
version.
It is important that we fi
Two security-related issues were recently reported, and to address these
issues we have just released Go 1.6.4 and Go 1.7.4.
We recommend that all users update to one of these releases (if you're not
sure which, choose Go 1.7.4).
The issues addressed by these releases are:
On Darwin, user's tr
Quick update: go1.7.4 was tagged with the wrong commit.
It has been updated from:
go1.7.4 0ad8bf4122de7396f771ed12f86934ea3177d6cf
to
go1.7.4 6b36535cf382bce845dd2d272276e7ba350b0c6b
If you built from the go1.7.4 tag at 0ad8b, the version will be incorrectly
reported as "go1.7.3".
The binaries
Hello gophers,
We have just released go1.8beta2, a beta version of Go 1.8.
It is cut from the master branch at the revision tagged go1.8beta2.
Thank you to everyone who has helped to test Go 1.8 so far.
We still need more people to test! Your help is invaluable.
It is important that we find bugs
Hello gophers,
We have just released go1.8beta2, a release candidate of Go 1.8.
It is cut from release-branch.go1.8 at the revision tagged go1.8rc1.
Thank you to everyone who has helped to test Go 1.8 so far.
We still need more people to test, especially on production workloads.
Your help is inva
Hello gophers,
We have just released go1.8rc2, a release candidate of Go 1.8.
It is cut from release-branch.go1.8 at the revision tagged go1.8rc2.
Thank you to everyone who has helped to test Go 1.8 so far.
We still need more people to test, especially on production workloads.
Your help is invalu
Hello gophers,
We have just released go1.7beta2, a beta version of Go 1.7.
It is cut from the master branch at the revision tagged go1.7beta2.
Please help us by testing your Go programs with the release, and report any
problems using the issue tracker:
https://golang.org/issue/new
You can do
Hello gophers,
We have just released go1.7rc1, a release candidate for Go 1.7.
It is cut from release-branch.go1.7 at the revision tagged go1.7rc1.
Please help us by testing your Go programs with the release, and report any
problems using the issue tracker:
https://golang.org/issue/new
You ca
If it isn't the right way of doing things, it might be something we can
change (for 1.8, probably). What's an installer meant to do if there's an
existing binary or symlink at that location?
On Jul 16, 2016 9:41 AM, "Dmitri Shuralyov" wrote:
Can someone please explain the thinking behind this de
A security-related issue was recently reported in Go's net/http/cgi package
and net/http package when used in a CGI environment. Go 1.6.3 and Go 1.7rc2
will contain a fix for this issue.
Go versions 1.0-1.6.2 and 1.7rc1 are vulnerable to an input validation flaw
in the CGI components resulting
>>
> >> Ian
> >>
> >> > On Monday, July 18, 2016 at 12:31:13 PM UTC-7, Ian Lance Taylor wrote:
> >> >>
> >> >> On Mon, Jul 18, 2016 at 12:11 PM, wrote:
> >> >> > Why are the other changes to be released but not
Hello gophers,
We have just released go1.7rc3, a release candidate for Go 1.7.
It is cut from release-branch.go1.7 at the revision tagged go1.7rc3.
Please help us by testing your Go programs with the release, and report any
problems using the issue tracker:
https://golang.org/issue/new
You ca
A couple people requested a changelog between release candidates. I'll try
to remember to include that for the 1.8 release candidates (we don't plan
to do a 1.7rc4).
GitHub has a nice view for commits between refs.
Here's what was in 1.7rc2 (very small):
https://github.com/golang/go/compare/go1
You might want to check out the gopherjs project:
https://github.com/gopherjs/gopherjs
There are no plans for the Go project to have an official target for
WebAssembly.
On Wed, Jul 27, 2016 at 8:02 AM, Alexey Solovey wrote:
> Hello. Will support of WebAssembly (compilation to JS) in Go language
Try this awesome utility:
https://mholt.github.io/curl-to-go/
On Jul 28, 2016 8:47 PM, "Adrian Lanzafame"
wrote:
> Hi Victor,
>
> Have you had a look at the net/http package?
> http://golang.org/pkg/net/http
>
> On Fri, 29 Jul 2016 01:01 Victor L wrote:
>
>> I am using curl for REST call from j
Hello gophers,
We have just released go1.7rc4, a release candidate for Go 1.7.
It is cut from release-branch.go1.7 at the revision tagged go1.7rc4.
Please help us by testing your Go programs with the release, and report any
problems using the issue tracker:
https://golang.org/issue/new
You ca
Hello gophers,
We have just released go1.7rc5, a release candidate for Go 1.7.
It is cut from release-branch.go1.7 at the revision tagged go1.7rc5.
rc5 includes three fixes: two to the `go doc` command, and one fix
for time for macOS Sierra Beta 4.
Please help us by testing your Go programs with
Hello gophers,
We have just released go1.7rc6, a release candidate for Go 1.7.
Some say that it's the best one yet.
It is cut from release-branch.go1.7 at the revision tagged go1.7rc6.
Please help us by testing your Go programs with the release, and
report any problems using the issue tracker:
Hello gophers,
We just released Go 1.7.
You can read the announcement blog post here:
https://blog.golang.org/go1.7
You can download binary and source distributions from our download page:
https://golang.org/dl/
To compile from source using a Git checkout, update to the release with
"git c
Thanks for flagging it. I'm re-building the zip file and it should be
available at golang.org/dl soon.
On Mon, Aug 15, 2016 at 5:03 PM, chai2010 wrote:
> go1.7.windows-amd64.zip missing.
>
> 2016-08-16 7:28 GMT+08:00 Chris Broadfoot :
>
>> Hello gophers,
>>
>>
Thanks, it has been added here: https://golang.org/project/
On Mon, Aug 15, 2016 at 5:25 PM, chai2010 wrote:
> and http://127.0.0.1:6060/project/ #release history page have no Go1.7
> release notes.
>
> 2016-08-16 8:20 GMT+08:00 Chris Broadfoot :
>
>> Thanks for flagging it
Hello gophers,
We have just released go1.7.5, which includes fixes to the compiler,
runtime, and the crypto/x509 and time packages.
https://golang.org/doc/devel/release.html#go1.7.minor
You can download binary and source distributions from the Go web site:
https://golang.org/dl/
We also released
Hello gophers,
We just released Go 1.8.
You can read the announcement blog post here:
https://blog.golang.org/go1.8
You can download binary and source distributions from our download page:
https://golang.org/dl/
To compile from source using a Git checkout, update to the release with
"git c
Hi gophers,
We have just released Go version 1.8.1, a minor point release.
This release includes fixes to the compiler, runtime, documentation, go
command, and the
crypto/tls, encoding/xml, image/png, net, net/http, reflect, text/template,
and time packages.
https://golang.org/doc/devel/re
A security-related issue was recently reported in Go's crypto/elliptic
package.
To address this issue, we have just released Go 1.7.6 and Go 1.8.2.
The Go team would like to thank Vlad Krasnov and Filippo Valsorda at
Cloudflare for reporting the issue and providing a fix.
The issue affects Go's
Hi gophers,
We have just released Go version 1.8.3, a minor point release.
This release includes fixes to the compiler, runtime, documentation, and the
database/sql package.
https://golang.org/doc/devel/release.html#go1.8.minor
It also includes the security fix to the crypto/elliptic package
Hello gophers,
We have just released go1.9beta1, a beta version of Go 1.9.
It is cut from the master branch at the revision tagged go1.9beta1.
There are no known problems or regressions.
Please try running production load tests and your unit tests with the new
version.
Report any problems using
Hello gophers,
We have just released go1.9beta2, a beta version of Go 1.9.
It is cut from the master branch at the revision tagged go1.9beta2.
There are no known problems or regressions.
Please try running production load tests and your unit tests with the new
version.
Your help testing these pre
Try this package:
https://pkg.go.dev/golang.org/x/oauth2/clientcredentials?tab=doc
On Tue, Feb 11, 2020, 4:43 PM andrey mirtchovski
wrote:
> i would strongly advise against implementing advice received online
> for something as important as auth. my suggestion is to work with curl
> from the com
with the snap
> already installed should get them soon, or snap install --classic --channel
> 1.9/stable go on an ubuntu or ubuntu-like system if you want to try them
> out :)
>
> Cheers,
> mwh
>
> On 26 October 2017 at 12:51, Chris Broadfoot wrote:
>
>> Hi gophers
44 matches
Mail list logo