[go-nuts] Re: struct literals require keys on GAE?

2018-09-01 Thread Nelo Mitranim
Struct literals don't require keys, but `go vet` will complain about unkeyed fields for a struct type from another package. It won't complain about unkeyed fields for a struct from the same package. -- You received this message because you are subscribed to the Google Groups "golang-nuts"

Re: [go-nuts] Re: struct literals require keys on GAE?

2018-09-01 Thread Dan Kortschak
It seem appropriate for both here since (it's a Go build issue) and there. I have asked at google-appengine-go, but it appears that it is a thing, probably due to a run of `go vet -composites` on the code prior to build. It's not clear if that is still done. On Sat, 2018-09-01 at 01:04 -0700, T L

[go-nuts] Re: struct literals require keys on GAE?

2018-09-01 Thread T L
You can ask this question here: https://groups.google.com/forum/#!forum/google-appengine-go https://groups.google.com/forum/#!forum/google-appengine On Thursday, August 30, 2018 at 8:29:31 PM UTC-4, kortschak wrote: > > It is my recollection that GAE requires that struct literals have > explicit