Re: [go-nuts] possible inconsistency in the embed package documentation

2021-01-22 Thread Dmitri Shuralyov
> Consider the case where example.com/m1/nested is not a separate module. > Due to the rule of "Patterns must not contain ‘.’ or ‘..’ path elements", the nested package can not embed, as an example, the LICENSE file from the example.com/m1 package. > The LICENSE file is not outside the nested pac

Re: [go-nuts] Announcing godocs.io, a maintained fork of godoc.org

2021-01-22 Thread Drew DeVault
On Fri Jan 22, 2021 at 12:37 PM EST, Sebastien Binet wrote: > do you plan on also providing a Gemini end-point for godocs.io ? No, but patches welcome. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop recei

Re: [go-nuts] Announcing godocs.io, a maintained fork of godoc.org

2021-01-22 Thread Sebastien Binet
hi, On Wed Jan 20, 2021 at 23:44 CET, Drew DeVault wrote: > Greetings. For those who do not wish to follow Golang to pkg.go.dev, and > prefer the authentic godoc.org experience, I have forked the gddo > codebase and set up an instance which will be maintained indefinitely: > > https://godocs.io >

Re: [go-nuts] Building a totally static go binary.

2021-01-22 Thread Brian Candler
Building statically with cgo seems to be possible, although over time I found the required flags have changed. https://github.com/prometheus/snmp_exporter/issues/223 On Thursday, 21 January 2021 at 01:37:12 UTC hongy...@gmail.com wrote: > On Thursday, January 21, 2021 at 12:38:30 AM UTC+8 > axe