You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should be possible to import the package foo from main.gop directly.
2. Support import a pure go+ module on the GitHub
It should be possible to import "github.com/x/y" or import "github.com/x/y/z", when github.com/x/y is a pure go+ module, and the package y is a pure go+ package in it.
Background
To develop a go+ project, we want to write pure go+ code everywhere, we also want to publish the pure go+ modules.
Proposal
1. Support import a pure go+ package in the current project
E.g. a project structure like the below:
It should be possible to import the package
foo
frommain.gop
directly.2. Support import a pure go+ module on the GitHub
It should be possible to
import "github.com/x/y"
orimport "github.com/x/y/z"
, whengithub.com/x/y
is a pure go+ module, and the packagey
is a pure go+ package in it.Background
To develop a go+ project, we want to write pure go+ code everywhere, we also want to publish the pure go+ modules.
Workarounds
For the packages in your project
Use https://github.com/cosmtrek/air to watch
*.gop
files changes, and rungop build ./...
.For the packages from the other modules
Nothing.
The text was updated successfully, but these errors were encountered: