I appologize if this has been asked before, I tried searching but all the posts I could find of a similar nature were asking about dependencies, rather than about the module specifically.
Is it possible to have a package as a module without having it hosted somewhere (like Github, or other internet endpoint?) I often like to prototype ideas locally, but the idea usually isn't worth all the effort of making a new repository, and all the work to set up git, as most of the time I end up scrapping it. However with GO111MODULE=on, go build seems to require a module line that is hosted at a url (ie: github.com/kidoda/quikcam) in order to build. With dependencies I can just use the -replace directive to point to a local directory, but I can't seem to find a way to do the same with the module. Is there a way that I can build my package as a module without having to host it on the internet? Thanks in advance, -K -- 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. For more options, visit https://groups.google.com/d/optout.