Comment
Comment by JulianMorrison
The solution I've found to the "package main" problem is to put the "main" as a sub package.
That way main can import "myapp/shared_code". Yes, the packaging standard is being broken for the main programs, but that's ok, nothing needs to import them.