Re: [go-nuts] Re: Contributing to golang based project on github - collaboration best practice

2021-06-14 Thread Amnon
This needs to be updated for post-GOPATH modules. On Monday, 14 June 2021 at 20:35:22 UTC+1 Sachin maurya wrote: > I think this post might help > > > https://penthaa.medium.com/contributing-to-open-source-go-projects-on-github-a-recipe-to-clone-forked-go-repos-4b52a1b36489 > > On Wednesday, Febru

Re: [go-nuts] Re: Where can I get a complete list of enhancements or changes of the golang spec (Version of Feb 10, 2021) agaisnt previous (Version of Jan 14, 2020)

2021-06-14 Thread Benjamin
Thanks all! 在2021年6月12日星期六 UTC+8 下午11:18:13 写道: > (Note: this is against the recently released go1.17beta1, so it is ahead > of the latest release and might, theoretically, still change before go1.17 > is released) > > On Sat, Jun 12, 2021 at 5:16 PM Axel Wagner > wrote: > >> For your conveni

Re: [go-nuts] Re: Understanding how []byte("astring") works

2021-06-14 Thread Amit Saha
On Mon, Jun 14, 2021 at 11:42 AM peterGo wrote: > > Amit, > > Compilers implement a specification: > > The Go Programming Language Specification > https://golang.org/ref/spec > > Conversions > > A conversion changes the type of an expression to the type specified by the > conversion. A conversion

Re: [go-nuts] Re: Go 1.17 Beta 1 is released

2021-06-14 Thread Ian Lance Taylor
On Mon, Jun 14, 2021 at 10:04 AM Robert Solomon wrote: > > I read the draft release notes. > > Does Go 1.17 intend on supporting GOPATH mode. I could not find any notes on > this. Go 1.17 continues to support GOPATH mode if you explicitly set the environment variable GO111MODULE=off. This is t

Re: [go-nuts] HDF5 support for SWMR

2021-06-14 Thread 'Vina C.' via golang-nuts
Got it and thanks On Monday, June 14, 2021 at 5:02:31 PM UTC-4 Ian Lance Taylor wrote: > On Mon, Jun 14, 2021 at 12:35 PM 'Vina C.' via golang-nuts > wrote: > > > > I was trying to use go HDF5 package and noticed that it only support > version 1.8 for HDF5. Since SWMR feature (Single Write mult

Re: [go-nuts] HDF5 support for SWMR

2021-06-14 Thread Ian Lance Taylor
On Mon, Jun 14, 2021 at 12:35 PM 'Vina C.' via golang-nuts wrote: > > I was trying to use go HDF5 package and noticed that it only support version > 1.8 for HDF5. Since SWMR feature (Single Write multiple read) only > implemented in 1.10, I wonder if there is anyway to do the same task with > c

[go-nuts] HDF5 support for SWMR

2021-06-14 Thread 'Vina C.' via golang-nuts
Hello, everyone: I was trying to use go HDF5 package and noticed that it only support version 1.8 for HDF5. Since SWMR feature (Single Write multiple read) only implemented in 1.10, I wonder if there is anyway to do the same task with current go HDF5 package? Any example would be greatly appreci

Re: [go-nuts] Re: Contributing to golang based project on github - collaboration best practice

2021-06-14 Thread Sachin maurya
I think this post might help https://penthaa.medium.com/contributing-to-open-source-go-projects-on-github-a-recipe-to-clone-forked-go-repos-4b52a1b36489 On Wednesday, February 3, 2021 at 1:24:12 PM UTC-5 yue.ni...@gmail.com wrote: > Thank you for the different approaches. > > I have settled on

[go-nuts] Re: Go 1.17 Beta 1 is released

2021-06-14 Thread Robert Solomon
I read the draft release notes. Does Go 1.17 intend on supporting GOPATH mode. I could not find any notes on this. On Thursday, June 10, 2021 at 11:47:16 AM UTC-4 dmit...@golang.org wrote: > Hello gophers, > > We have just released go1.17beta1, a beta version of Go 1.17. > It is cut from the

[go-nuts] Re: Question about container/heap

2021-06-14 Thread jake...@gmail.com
On Sunday, June 13, 2021 at 2:35:42 PM UTC-4 Brian Candler wrote: > On Sunday, 13 June 2021 at 16:09:48 UTC+1 kee...@gmail.com wrote: > >> For my heap, I never had to Push or Pop, I only had to initialize the >> heap and repeatedly "Fix" the top element of the heap. As it turns out the >> Init

Re: [go-nuts] Warning for look alike Unicode characters

2021-06-14 Thread 'Bryan C. Mills' via golang-nuts
See also: https://golang.org/issue/20115 (proposal: cmd/vet: detect homograph attacks) https://golang.org/issue/20209 (proposal: spec: disallow LTR/RTL characters in string literals?) https://golang.org/issue/20210 (proposal: spec: disallow unicode import paths to avoid punycode attacks) On Mond

Re: [go-nuts] Warning for look alike Unicode characters

2021-06-14 Thread 'drc...@google.com' via golang-nuts
I was going to ask, "how do they define/measure that?", decided to look at the Rust code, and found http://www.unicode.org/Public/security/10.0.0/confusables.txt So there's a defined source and everything. On Friday, June 11, 2021 at 5:48:05 PM UTC-4 Ian Lance Taylor wrote: > On Fri, Jun 11, 20

Re: [go-nuts] Understanding how []byte("astring") works

2021-06-14 Thread Shulhan
On Mon, 14 Jun 2021 10:24:00 +1000 Amit Saha wrote: > Hi - My main motivation to understand this is i always had to google > this - how to convert a string to a byte slice. > > Is []byte a type that has been defined in the compiler? > > Or, is that an internal level detail that an earlier stage

Re: [go-nuts] Understanding how []byte("astring") works

2021-06-14 Thread Amit Saha
On Mon, Jun 14, 2021 at 3:23 PM Roland Müller wrote: > > Hello, > > Am Mo., 14. Juni 2021 um 03:24 Uhr schrieb Amit Saha : >> >> Hi - My main motivation to understand this is i always had to google >> this - how to convert a string to a byte slice. >> >> Is []byte a type that has been defined in t

Re: [go-nuts] Understanding how []byte("astring") works

2021-06-14 Thread Amit Saha
On Mon, Jun 14, 2021 at 4:44 PM Axel Wagner wrote: > > Hi, > > On Mon, Jun 14, 2021 at 2:24 AM Amit Saha wrote: >> >> Hi - My main motivation to understand this is i always had to google >> this - how to convert a string to a byte slice. >> >> Is []byte a type that has been defined in the compile

[go-nuts] go/importer can't find github import referring to internal/ of current module

2021-06-14 Thread Levieux Michel
Hi guys, Didn't really know what to put in the title, I have a file hierarchy like the following: - gest (root of module) -- cmd --- gesterate command files (see below) -- internal --- callstack internal library files (see below) -- library files (see below) in the cmd/gesterate/ folder