Re:Show HN: pkgname, choosing good package names
by NateDad on Monday May 19, 2014 @07:09AM
(#7766841)
Arg, stupid phone. Should say:
The Go package name can be different than the name of the directory in which the package resides (although this is strongly discouraged). The directory may certainly contain hyphens, but the package name - the thing you see in the Go
package foo
statement - cannot contain hyphens... that's the actual package name, which can only contain unicode alpha-numerics.
The Go package name can be different than the name of the directory in which the package resides (although this is strongly discouraged). The directory may certainly contain hyphens, but the package name - the thing you see in the Go
statement - cannot contain hyphens... that's the actual package name, which can only contain unicode alpha-numerics.