Indeed. Some parts of it are fine though, given that the ask was for a starting point. I agree completely with the pkg stuff being wrong. I use just some of the ideas here, but I don’t see what the point of pkg is.
On Fri, Apr 14, 2023 at 16:04 'Dan Kortschak' via golang-nuts < golang-nuts@googlegroups.com> wrote: > On Fri, 2023-04-14 at 14:01 +0800, Jim Idle wrote: > > You might start with this repo: > > > > https://github.com/golang-standards/project-layout > > > > This is not an 'official' standard, though it does encapsulate the > > things that are standard go such as the internal directory. > > > > Personally I avoid its recommendation to use a directory 'pkg' to > > store your module code as it makes the import path quite strange. But > > for a main you can look at the cmd directory or the internal > > directory. You will not go too far wrong by following this guide. > > > > Jim > > It's worth noting this issue in that repo: > https://github.com/golang-standards/project-layout/issues/117 > > -- > 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/c66f416360824816fa1c9415126c78969beaad9b.camel%40kortschak.io > . > -- 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/CAGPPfg9s6UNPvQAJ4mz_kH4i6t%3Dp3W8Eb4G-573a-_CnE4F7uA%40mail.gmail.com.