On Wed, Aug 16, 2023 at 7:10 PM joseph.p...@gmail.com < joseph.p.mcguc...@gmail.com> wrote:
> I’m reading a GO book for beginners. They’re always naming their module > in the form: > github.com/username/program > > Is the ‘github.com’ portion of the module name mandatory? I really have > no intention of saving my code to github. If i’m saving my code locally, > can i use an arbitrary module name? > No, github.com as a prefix is not mandatory. Not even if you intend to publish your module. See https://go.dev/doc/modules/managing-dependencies#naming_module -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- 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/CABx2%3DD91gx9RJ%2BXJAVrp8gx3j7o_5irBedSVGBiVYBu%2BgRTYtg%40mail.gmail.com.