am having one issue... and not sure if it's possible. In the main.go file
(package main) I have a couple of public variables that are set using
command-line arguments at run-time. I want those variables accessible to
other packages. Sharing variables among packages are simple enough (after
importing it, use package.Variable); however, there doesn't seem to be a
way to import main (get error "...is a program, not an importable package).
How do I import and use (if possible) public variables from the main
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 firstname.lastname@example.org.
For more options, visit https://groups.google.com/d/optout.