Re: [go-nuts] []int does not implement []any
Thank you very much Axel for this crystal clear explanation. Best regards Le mer. 11 mai 2022 à 17:56, Axel Wagner a écrit : > When you write [S []any], this means "S must have type []any". `[]int` has > type `[]int`, which is different from `[]any`, so this doesn't work - and > it can't work: > https://blog.merovius.de/posts/2018-06-03-why-doesnt-go-have-variance-in/ > > When you write [E any, S []E], you say "E must be any type and S must have > type []E". This *can* be instantiated using `[]int`, because `int` can take > the place of `E` (it is "any type") and then `[]int` has type `[]E` and > everything is great. > > On Wed, May 11, 2022 at 5:45 PM Michel Casabianca < > michel.casabia...@gmail.com> wrote: > >> Hi gophers! >> >> This code https://go.dev/play/p/QHIxegJn3aj doesn't compile. I don't >> understand why. Anyone would have an explanation? And why this code >> https://go.dev/play/p/PCSzRkLvXhp fixes it? >> >> Thanks for your replies >> Best regards >> -- >> Michel Casabianca >> >> -- >> You received this message because you are subscribed to the Google Groups >> "golang-nuts" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to golang-nuts+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/golang-nuts/18738918-be16-4b0b-825e-e01f7d9c6225n%40googlegroups.com >> <https://groups.google.com/d/msgid/golang-nuts/18738918-be16-4b0b-825e-e01f7d9c6225n%40googlegroups.com?utm_medium=email_source=footer> >> . >> > -- Michel Casabianca -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAFGb9HNxTfDpW6kX8GshxUk%2BRfzxRkT7-NbZWtoVUJBs6mmojQ%40mail.gmail.com.
[go-nuts] []int does not implement []any
Hi gophers! This code https://go.dev/play/p/QHIxegJn3aj doesn't compile. I don't understand why. Anyone would have an explanation? And why this code https://go.dev/play/p/PCSzRkLvXhp fixes it? Thanks for your replies Best regards -- Michel Casabianca -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/18738918-be16-4b0b-825e-e01f7d9c6225n%40googlegroups.com.
Re: [go-nuts] Tool to check binaries for vulnerabilities
Thank you very much for your feedback. I have made a new 0.7.0 release including your suggestions : https://github.com/intercloud/gobinsec/releases/tag/0.7.0 Enjoy! Le lundi 18 avril 2022 à 14:48:55 UTC+2, Michel Casabianca a écrit : > Thank you very much for this feedback. I have made a pull request to use > debug/buildinfo.ReadFile as suggested: > https://github.com/intercloud/gobinsec/pull/7 > > This is far better than calling go on command line. > > Best regards > > > Le vendredi 15 avril 2022 à 11:11:09 UTC+2, se...@liao.dev a écrit : > >> If you only need to target 1.18+, you can use `debug/buildinfo.ReadFile` >> which doesn't require shelling out to go >> >> >> On Fri, Apr 15, 2022 at 7:03 AM Zhaoxun Yan wrote: >> >>> That sounds great! Thanks. >>> >>> 在2022年4月15日星期五 UTC+8 05:55:27 写道: >>> >>>> On Thu, 2022-04-14 at 03:05 -0700, Michel Casabianca wrote: >>>> > Any comment and contribution welcome. >>>> >>>> Can I suggest that you use golang.org/x/sys/execabs rather than >>>> os/exec >>>> in ExecCommand? >>>> >>>> >>>> -- >>> You received this message because you are subscribed to the Google >>> Groups "golang-nuts" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to golang-nuts...@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/golang-nuts/454f35cf-6599-4fc1-9dd2-602137d58cb6n%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/golang-nuts/454f35cf-6599-4fc1-9dd2-602137d58cb6n%40googlegroups.com?utm_medium=email_source=footer> >>> . >>> >> -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/e53bbe72-5cd4-475c-9c56-5e88e79928bcn%40googlegroups.com.
Re: [go-nuts] Tool to check binaries for vulnerabilities
Thank you very much for this feedback. I have made a pull request to use debug/buildinfo.ReadFile as suggested: https://github.com/intercloud/gobinsec/pull/7 This is far better than calling go on command line. Best regards Le vendredi 15 avril 2022 à 11:11:09 UTC+2, se...@liao.dev a écrit : > If you only need to target 1.18+, you can use `debug/buildinfo.ReadFile` > which doesn't require shelling out to go > > > On Fri, Apr 15, 2022 at 7:03 AM Zhaoxun Yan wrote: > >> That sounds great! Thanks. >> >> 在2022年4月15日星期五 UTC+8 05:55:27 写道: >> >>> On Thu, 2022-04-14 at 03:05 -0700, Michel Casabianca wrote: >>> > Any comment and contribution welcome. >>> >>> Can I suggest that you use golang.org/x/sys/execabs rather than os/exec >>> in ExecCommand? >>> >>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "golang-nuts" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to golang-nuts...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/golang-nuts/454f35cf-6599-4fc1-9dd2-602137d58cb6n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/golang-nuts/454f35cf-6599-4fc1-9dd2-602137d58cb6n%40googlegroups.com?utm_medium=email_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/e2e74443-acb3-4e49-a850-8a18a0b7bc35n%40googlegroups.com.
Re: [go-nuts] Tool to check binaries for vulnerabilities
Thank you for your feedback. Nevertheless, I don't call go anymore using debug/buildinfo.ReadFile, as suggested by another feedback below. Le jeudi 14 avril 2022 à 23:55:27 UTC+2, kortschak a écrit : > On Thu, 2022-04-14 at 03:05 -0700, Michel Casabianca wrote: > > Any comment and contribution welcome. > > Can I suggest that you use golang.org/x/sys/execabs rather than os/exec > in ExecCommand? > > > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/7cd44e90-2e0c-40e2-8d7e-421be73656e5n%40googlegroups.com.
[go-nuts] Tool to check binaries for vulnerabilities
Hello Gophers, We, at Intercloud, have developed a tool to check dependencies embedded in Go binaries. It first lists dependencies running "go version -m mybinary", then it looks for vulnerabilities in NVD online database (at https://nvd.nist.gov/). This tool is open source and available at https://github.com/intercloud/gobinsec. Any comment and contribution welcome. Enjoy! -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/4bf78f56-f44e-4921-97b8-d9512141fbffn%40googlegroups.com.
[go-nuts] List embedded dependencies in a Go binary
Hi gophers, I would like to know which dependencies are embedded in generated Go binary, along with their version. I though at first that they were listed in *go.sum* file, but it seems that this is not the case. I found two different ways to do so: - Running "go version -m my-binary" - Calling runtime.debug API in my code, as follows: func buildInfo() { buildInfo, ok := debug.ReadBuildInfo() if !ok { panic("Can't read BuildInfo") } fmt.Println("Dependencies:") for _, dep := range buildInfo.Deps { fmt.Printf(" %s %s\n", dep.Path, dep.Version) } } func main() { // print build info if -info passed on command line if len(os.Args) > 1 && os.Args[1] == "-info" { buildInfo() os.Exit(0) } ... } These two methods produce the same list. Does anyone confirm that this is the way to list embedded dependencies in a Go binary? Another question related to this one: Let's say I use dependencies A and B that both use C in two different versions. According to my own experience, it seems that Go will embed only one of these versions, the latest one. Is this correct? Best regards -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/0593e72b-8c9f-4678-ad0d-f86ddb1dc3bdn%40googlegroups.com.
Re: [go-nuts] Go 1.14 is released
Hi Gophers, I have updated my list of Go interfaces for this new release: http://sweetohm.net/article/go-interfaces.en.html Enjoy! Le mar. 25 févr. 2020 à 22:39, Carlos Amedee a écrit : > Hello gophers, > > We just released Go 1.14. > > To find out what has changed in Go 1.14, read the release notes: > https://golang.org/doc/go1.14 > > You can download binary and source distributions from our download page: > https://golang.org/dl/ > > If you have Go installed already, an easy way to try go1.14 > is by using the go command: > $ go get golang.org/dl/go1.14 > $ go1.14 download > > To compile from source using a Git clone, update to the release with > "git checkout go1.14" and build as usual. > > Thanks to everyone who contributed to the release! > > Cheers, > Carlos and Dmitri for the Go Team > > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/CAD7Aq3RLzg1fe_eyqVUPkkyTRV_5OZ%2BBO6iVakx1QShZCbhtwA%40mail.gmail.com > . > -- Michel Casabianca -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAFGb9HO%2B2KPRJqy53W%2BVHkRVSesM39VVGnOysYkfp5miXDbo_g%40mail.gmail.com.
[go-nuts] Re: Go 1.13.6 and Go 1.12.15 are released
Hi Gophers, I have updated my list of Go interfaces for this new release: http://sweetohm.net/article/go-interfaces.en.html Enjoy! Le jeu. 9 janv. 2020 à 23:16, Carlos Amedee a écrit : > Hello gophers, > > We have just released Go versions 1.13.6 and 1.12.15, minor point releases. > > These releases include fixes to the runtime and to the > net/http package. > > The macOS releases enable the Hardened Runtime. > Seehttps://golang.org/issue/34986 for details. > > View the release notes for more information: > https://golang.org/doc/devel/release.html#go1.13.minor > > You can download binary and source distributions from the Go web site: > https://golang.org/dl/ > > To compile from source using a Git clone, update to the release with > "git checkout go1.13.6" and build as usual. > > Thanks to everyone who contributed to the release. > > Cheers, > Carlos for the Go team > > > -- > You received this message because you are subscribed to the Google Groups > "golang-announce" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-announce+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-announce/CAD7Aq3TRa0geA%2BKp%3D8QEF1-aHQuJ-%2ByUXsfTYUgGok-gjLn7cA%40mail.gmail.com > <https://groups.google.com/d/msgid/golang-announce/CAD7Aq3TRa0geA%2BKp%3D8QEF1-aHQuJ-%2ByUXsfTYUgGok-gjLn7cA%40mail.gmail.com?utm_medium=email_source=footer> > . > -- Michel Casabianca -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAFGb9HNfdOpNr-KT-cR_XxzWWAntDScGrrihDQQiaRSvBccPPQ%40mail.gmail.com.
Re: [go-nuts] Re: Go 1.13.4 and Go 1.12.13 are released
Hi Gophers, I have updated my list of all Go interfaces at http://sweetohm.net/article/go-interfaces.en.html Enjoy! Le ven. 1 nov. 2019 à 10:27, Stephen Illingworth < stephen.t.illingwo...@gmail.com> a écrit : > Build fails here. Using v1.13 to build: > > go test proxy running at GOPROXY=http://127.0.0.1:41805/mod > go proxy: no archive rsc.io v1.5.2: file does not exist > go proxy: no archive rsc.io v1.0.0: file does not exist > go proxy: no archive rsc.io v1.0.0: file does not exist > go proxy: no archive rsc.io v1.0.0: file does not exist > go proxy: no archive rsc.io v1.0.0: file does not exist > go proxy: no archive rsc.io v1.1.0: file does not exist > go proxy: no archive rsc.io v1.5.1: file does not exist > go proxy: no archive example.com/newcycle v1.0.0: file does not exist > --- FAIL: TestScript (0.00s) > --- FAIL: TestScript/vendor_complex (0.57s) > script_test.go:191: > # smoke test for complex build configuration (0.571s) > > go build -o complex.exe complex > > [exec:gccgo] go build -compiler=gccgo -o complex.exe complex > [stderr] > package complex > imports runtime: cannot find package "runtime" in any of: > $WORK/gopath/src/complex/vendor/runtime (vendor tree) > /home/steve/Go/go1.13.4/src/runtime (from $GOROOT) > $WORK/gopath/src/runtime (from $GOPATH) > [exit status 1] > FAIL: testdata/script/vendor_complex.txt:5: unexpected command > failure > > --- FAIL: TestIssue7573 (0.01s) > go_test.go:3048: running testgo [build -n -compiler gccgo cgoref] > go_test.go:3048: standard error: > go_test.go:3048: package cgoref > imports runtime: cannot find package "runtime" in any of: > /home/steve/Go/go1.13.4/src/runtime (from $GOROOT) > /tmp/cmd-go-test-589579455/gotest023101038/src/runtime (from > $GOPATH) > package cgoref > imports syscall: cannot find package "syscall" in any of: > /home/steve/Go/go1.13.4/src/syscall (from $GOROOT) > /tmp/cmd-go-test-589579455/gotest023101038/src/syscall (from > $GOPATH) > > go_test.go:3048: go [build -n -compiler gccgo cgoref] failed > unexpectedly in /home/steve/Go/go1.13.4/src/cmd/go: exit status 1 > FAIL > FAILcmd/go91.345s > > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/d43f9dd9-9cdf-4234-8ab2-0bf8085ba090%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/d43f9dd9-9cdf-4234-8ab2-0bf8085ba090%40googlegroups.com?utm_medium=email_source=footer> > . > -- Michel Casabianca -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAFGb9HP98pfwvUYWW_6gAuD2eMR2N6fKA_sExNQ9JPh_2UAqWg%40mail.gmail.com.
[go-nuts] Re: Go 1.12.7 and Go 1.11.12 are released
Hello Gophers, I have updated my list of all Go interfaces for these releases: http://sweetohm.net/article/go-interfaces.en.html Enjoy! Le mar. 9 juil. 2019 à 00:45, Alexander Rakoczy a écrit : > Hello gophers, > > We have just released Go versions 1.12.7 and 1.11.12, minor point releases. > > These releases include fixes to cgo, the compiler, and the linker. > > View the release notes for more information: > https://golang.org/doc/devel/release.html#go1.12.minor > > You can download the binary and source distributions from the Go web site: > https://golang.org/dl/ > > To compile 1.12.7 from source using a Git clone, update to the release > with "git checkout go1.12.7" and build as usual. > > Thanks to everyone who contributed to the releases. > > Cheers, > Alex for the Go team > > -- > You received this message because you are subscribed to the Google Groups > "golang-announce" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-announce+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-announce/CAFtHmMhiCAxtKiiyPvofMCpX_wrB80sk6qBv2t1DZ3WuuHK8ww%40mail.gmail.com > . > For more options, visit https://groups.google.com/d/optout. > -- Michel Casabianca -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAFGb9HPnct7COfzETUXAOHmD2PgcLvzUVv_hwwMPKXyZwABBKA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[go-nuts] Re: Go 1.12.5 and Go 1.11.10 are released
Hello Gophers, I have updated my list of all Go interfaces : http://sweetohm.net/article/go-interfaces.en.html Enjoy! Le mar. 7 mai 2019 à 03:43, Andrew Bonventre a écrit : > Hello gophers, > > We have just released Go versions 1.12.5 and 1.11.10, minor point releases. > > This release includes fixes to the compiler, the linker, the go command, > the runtime, and the os package. > > View the release notes for more information: > https://golang.org/doc/devel/release.html#go1.12.minor > > You can download binary and source distributions from the Go web site: > https://golang.org/dl/ > > To compile from source using a Git clone, update to the release with > "git checkout go1.12.5" and build as usual. > > Thanks to everyone who contributed to the release. > > Cheers, > Andy for the Go team > > -- > You received this message because you are subscribed to the Google Groups > "golang-announce" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-announce+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Michel Casabianca -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAFGb9HPHCs66KF4eYyLaj8apBEEU23_cxnV%3DEdAX35skip_H-A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: [go-nuts] Re: Go 1.11.2 and Go 1.10.5 are released
Hi Gophers, I updated my list of GO interfaces for these releases: http://sweetohm.net/html/gointerfaces.en.html Enjoy! Le ven. 2 nov. 2018 à 23:23, Nathan Kerr a écrit : > I updated my release related resources: > > >- Go Release Timeline <https://pocketgophers.com/go-release-timeline/> >- When Should You Upgrade Go? ><https://pocketgophers.com/when-should-you-upgrade-go/> > > > On Friday, November 2, 2018 at 3:06:58 PM UTC-7, Andrew Bonventre wrote: >> >> Hello gophers, >> >> We have just released Go versions 1.11.2 and 1.10.5, minor point releases. >> >> View the release notes for more information: >> https://golang.org/doc/devel/release.html#go1.11.minor >> >> You can download binary and source distributions from the Go web site: >> https://golang.org/dl/ >> >> To compile from source using a Git clone, update to the release with >> "git checkout go1.11.2" and build as usual. >> >> Thanks to everyone who contributed to the release. >> >> Cheers, >> Andy for the Go Team >> > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Michel Casabianca -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [go-nuts] Re: Go 1.11 and 1.10.4 are Released
Hi Gophers, I have updated my list of Go interfaces for these releases : http://sweetohm .net/article/go-interfaces.en.html Enjoy! Le sam. 25 août 2018 à 00:41, Nathan Kerr a écrit : > I updated my release related resources: > >- Go Release Timeline <https://pocketgophers.com/go-release-timeline/> >- When Should You Upgrade Go? ><https://pocketgophers.com/when-should-you-upgrade-go/> > > > On Friday, August 24, 2018 at 3:24:25 PM UTC-7, Andrew Bonventre wrote: >> >> Hello gophers, >> >> We just released Go 1.11 and 1.10.4. >> >> You can read the announcement blog post here: >> https://blog.golang.org/go1.1 <https://blog.golang.org/go1.11>1 >> >> 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 checkout go1.11" or "git checkout go1.10.4" and build as usual. >> >> To find out what has changed in Go 1.11, read the release notes: >> https://golang.org/doc/go1.1 <https://golang.org/doc/go1.11>1 >> >> Thanks to everyone who contributed to the release! >> >> Cheers, >> The Go Team >> > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Michel Casabianca -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [go-nuts] Re: Go 1.10.2 and Go 1.9.5 are released
Hi Gophers, I have updated my list of Go interfaces for these releases : http://sweetohm.net/article/go-interfaces.en.html Enjoy! -- Michel Casabianca Le mar. 1 mai 2018 à 19:27, Nathan Kerr <nat...@pocketgophers.com> a écrit : > I updated my release related resources: > >- Go Release Timeline <https://pocketgophers.com/go-release-timeline/> >- When Should You Upgrade Go? ><https://pocketgophers.com/when-should-you-upgrade-go/> > > Nathan > > On Tuesday, May 1, 2018 at 10:04:38 AM UTC-7, Andrew Bonventre wrote: >> >> Hi gophers, >> >> We have just released Go versions 1.10.2 and 1.9.6, minor point releases. >> >> These releases include fixes to the compiler, linker, and go command. >> >> View the release notes for more information: >> https://golang.org/doc/devel/release.html#go1.10.minor >> >> You can download binary and source distributions from the Go web site: >> https://golang.org/dl/ >> >> To compile from source using a Git clone, update to the release with >> "git checkout go1.10.2" and build as usual. >> >> Thanks to everyone who contributed to the release. >> >> The Go Team >> >> -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [go-nuts] Re: Go 1.10.1 and Go 1.9.5 are released
Hi Gophers, I have updated my list of Go interfaces for these releases : http://sweetohm .net/article/go-interfaces.en.html Enjoy! 2018-03-31 6:54 GMT+02:00 Lucio <lucio.d...@gmail.com>: > I just updated the sources, compiled tip in /home/lucio/Project/go, then > elsewhere checked out "-b go1.10.1". > > It is usually me being distracted, but I tried both > > GOROOT_BOOTSTRAP=/usr/local/go1.9 ./all.bash > > and > > export GOROOT_BOOTSTRAP=/usr/local/go1.9 > ./all.bash > > yet the build reported using /home/lucio/Project/go to bootstrap. > > I have verified that there is NO "bin/" directory in /usr/local/go1.9, > which may be diagnostic here: it is very helpful but surprising to find > that "go build" uses the default GOROOT in place of an inappropriate > GOROOT_BOOTSTRAP. I think at least a warning should be issued. > > That explains why TIP was built correctly using the 1.4 version, as > expected. > > In fact, here, lightly edited to remove embarrassing typos is the start of > the typescript: > > $ set|grep GO >> GOPATH=/home/lucio/Workdir:/home/lucio/Project:/home/lucio/Package >> GOROOT_BOOTSTRAP=/home/lucio/Project/go1.4 >> GO_TEST_TIMEOUT_SCALE=10 >> $ cd src >> $ cat ../VERSION >> $ GOROOT_BOOTSTRAP=/usr/local/go1.9 ./all.bash >> Building Go cmd/dist using /home/lucio/Project/go. >> ^C$ export GOROOT_BOOTSTRAP=/usr/local/go1.9 >> $ go env >> GOARCH="386" >> GOBIN="" >> GOCACHE="/home/lucio/.cache/go-build" >> GOEXE="" >> GOHOSTARCH="386" >> GOHOSTOS="linux" >> GOOS="linux" >> GOPATH="/home/lucio/Workdir:/home/lucio/Project:/home/lucio/Package" >> GORACE="" >> GOROOT="/home/lucio/Project/go" >> GOTMPDIR="" >> GOTOOLDIR="/home/lucio/Project/go/pkg/tool/linux_386" >> GCCGO="gccgo" >> GO386="sse2" >> CC="gcc" >> CXX="g++" >> CGO_ENABLED="1" >> CGO_CFLAGS="-g -O2" >> CGO_CPPFLAGS="" >> CGO_CXXFLAGS="-g -O2" >> CGO_FFLAGS="-g -O2" >> CGO_LDFLAGS="-g -O2" >> PKG_CONFIG="pkg-config" >> GOGCCFLAGS="-fPIC -m32 -pthread -fmessage-length=0 >> -fdebug-prefix-map=/tmp/go-build861792537=/tmp/go-build >> -gno-record-gcc-switches" >> $ export GOROOT_BOOTSTRAP=/usr/local/go1.9 >> $ ls -l $GOROOT_BOOTSTRAP >> total 164 >> drwxr-xr-x 2 root root 4096 Aug 31 2017 api >> -rw-r--r-- 1 root root 41258 Aug 31 2017 AUTHORS >> -rw-r--r-- 1 root root 1576 Aug 31 2017 CONTRIBUTING.md >> -rw-r--r-- 1 root root 55577 Aug 31 2017 CONTRIBUTORS >> drwxr-xr-x 9 root root 4096 Aug 31 2017 doc >> -rw-r--r-- 1 root root 5686 Aug 31 2017 favicon.ico >> drwxr-xr-x 3 root root 4096 Aug 31 2017 lib >> -rw-r--r-- 1 root root 1479 Aug 31 2017 LICENSE >> drwxr-xr-x 13 root root 4096 Aug 31 2017 misc >> -rw-r--r-- 1 root root 1303 Aug 31 2017 PATENTS >> -rw-r--r-- 1 root root 1601 Aug 31 2017 README.md >> -rw-r--r-- 1 root root26 Aug 31 2017 robots.txt >> drwxr-xr-x 46 root root 4096 Aug 31 2017 src >> drwxr-xr-x 19 root root 12288 Aug 31 2017 test >> -rw-r--r-- 1 root root 5 Aug 31 2017 VERSION >> $ ./all.bash >> Building Go cmd/dist using /home/lucio/Project/go. >> Building Go toolchain1 using /home/lucio/Project/go. >> Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1. >> Building Go toolchain2 using go_bootstrap and Go toolchain1. >> Building Go toolchain3 using go_bootstrap and Go toolchain2. >> Building packages and commands for linux/386. >> # Testing packages. >> ok archive/tar 0.752s >> [ ... ] > > > Lucio. > > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. > -- Michel Casabianca -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [go-nuts] Re: Go 1.10 is released
Hi Gophers, I have updated my list of Go interfaces for this release : http://sweetohm.net/article/go-interfaces.en.html Enjoy! 2018-02-19 8:00 GMT+01:00 Henrik Johansson <dahankz...@gmail.com>: > Thx, > > Why I wondered was because to build script (a tiny settings file really) > for Archlinux uses this flag to build it's Go packages. > Is it available as a paranoia "i really need all the tests run"? Will it > be removed later on? > > > > > sön 18 feb. 2018 kl 23:04 skrev Ian Lance Taylor <i...@golang.org>: > >> On Sun, Feb 18, 2018 at 11:22 AM, Henrik Johansson <dahankz...@gmail.com> >> wrote: >> > The GOCACHE variable. What is it's effect when building Go itself? >> > It doesn't disable test caching when using the resulting go tools right? >> >> Right. >> >> Ian >> > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Michel Casabianca -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[go-nuts] Updated list of interfaces
Hi Gophers, I have updated the list of Go interfaces you may find at http://sweetohm.net/article/go-interfaces.en.html New interfaces in this 1.8 release are the following: - ConnBeginTx (database/sql/driver): https://github.com/golang/go/ blob/go1.8/src/database/sql/driver/driver.go#L186 - ConnPrepareContext (database/sql/driver): https://github.com/golang/go/ blob/go1.8/src/database/sql/driver/driver.go#L164 - ExecerContext (database/sql/driver): https://github.com/golang/go/ blob/go1.8/src/database/sql/driver/driver.go#L109 - Pinger (database/sql/driver): https://github.com/golang/go/ blob/go1.8/src/database/sql/driver/driver.go#L83 - Pusher (net/http): https://github.com/golang/go/ blob/go1.8/src/net/http/http.go#L119 - QueryerContext (database/sql/driver): https://github.com/golang/go/ blob/go1.8/src/database/sql/driver/driver.go#L135 - RowsColumnTypeDatabaseTypeName (database/sql/driver): https://github.com/golang/go/blob/go1.8/src/database/sql/ driver/driver.go#L324 - RowsColumnTypeLength (database/sql/driver): https://github.com/golang/go/ blob/go1.8/src/database/sql/driver/driver.go#L340 - RowsColumnTypeNullable (database/sql/driver): https://github.com/golang/go/blob/go1.8/src/database/sql/ driver/driver.go#L349 - RowsColumnTypePrecisionScale (database/sql/driver): https://github.com/golang/go/blob/go1.8/src/database/sql/ driver/driver.go#L360 - RowsColumnTypeScanType (database/sql/driver): https://github.com/golang/go/blob/go1.8/src/database/sql/ driver/driver.go#L314 - RowsNextResultSet (database/sql/driver): https://github.com/golang/go/ blob/go1.8/src/database/sql/driver/driver.go#L297 - Source64 (math/rand): https://github.com/golang/go/ blob/go1.8/src/math/rand/rand.go#L32 - StmtExecContext (database/sql/driver): https://github.com/golang/go/ blob/go1.8/src/database/sql/driver/driver.go#L248 - StmtQueryContext (database/sql/driver): https://github.com/golang/go/ blob/go1.8/src/database/sql/driver/driver.go#L257 - Symbol (plugin): https://github.com/golang/go/ blob/go1.8/src/plugin/plugin.go#L73 <http://sweetohm.net/article/go-interfaces.en.html>Enjoy! -- Michel Casabianca -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [go-nuts] Re: Go 1.8 Release Candidate 1 is released
Hello Gophers, I have updated my list of Go interfaces at: http://sweetohm.net/article/go-interfaces.en.html Enjoy! 2017-01-11 1:43 GMT+01:00 João Henrique Machado Silva <joao...@gmail.com>: > Awesome! Thanks!! > > Em terça-feira, 10 de janeiro de 2017 18:38:03 UTC-2, Chris Broadfoot > escreveu: >> >> Hello gophers, >> >> We have just released go1.8rc1, 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 invaluable. >> >> Report any problems using the issue tracker: >> https://golang.org/issue/new >> >> If you have Go installed already, the easiest way to try go1.8rc1 >> is by using this tool: >> https://godoc.org/golang.org/x/build/version/go1.8rc1 >> >> You can download binary and source distributions from the usual place: >> https://golang.org/dl/#go1.8rc1 >> >> To find out what has changed in Go 1.8, read the draft release notes: >> https://beta.golang.org/doc/go1.8 >> >> Documentation for Go 1.8 is available at: >> https://beta.golang.org/ >> >> Our goal is to release the final version of Go 1.8 on February 1st. >> >> Cheers, >> Chris >> > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Michel Casabianca -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.