go-underscore
go-underscore copied to clipboard
Make package "go get" compatible
There are two things which prevent this package from being go get
compatible and idiomatic. The first can be fixed with a pull request, but the second requires changing the repository name/location.
Go projects use a single directory for all files in a package, and this directory generally has the same name as the package name (so src
directories aren't used in Go projects).
However, project names that end in .go
are no longer recognized by the entire Go toolchain, which means that the project name should really be underscore
(or perhaps __
, not `underscore.go).
(I was going to submit a pull request, but then I realized that the respository name ended in .go
, which ideally should be fixed before moving the files out of the src
directory; doing this in the other order would result in an inconsistent intermediate state.)
Thanks for the feedback. I think have this one sorted now - repo name has changed, src is being moved out of the sub directory.
I am also not using the __ anymore because the general feedback was it was too close to _.
Thanks for your help too.