The main package is not importable. If it were, you'd get an import
cycle when using any package that did so. There is no way for a
non-main package to access variables in the main package (other than
by passing them a pointer to one, etc).
//jb
> --
> 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...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.