And another question.  Some of my code is defined as

package main

and other code directories are

package calc as it is intended to be imported by other of my code packages.

Am I expected to run

go mod init <module name>

on all of my code, or only those that are imported by package main code?

Please forgive my denseness

--rob solomon

--
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/0bb23ec1-af4a-0ecf-56a9-bb65d19cd526%40fastmail.com.

Reply via email to