-
Using modules, packages are very important for engineering purpose. I don't have some previous pure golang experience. Maybe there are many overlaps, reusing some golang tools, it's fine, don't reinvent the wheel. But when it will be in the documentation, it will be very useful. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Create a new Go+ module is same as Go (suppose module name is go mod init github.com/foo/bar # Or: gop mod init github.com/foo/bar If you import external packages, before compiling you should execute: gop mod tidy |
Beta Was this translation helpful? Give feedback.
Create a new Go+ module is same as Go (suppose module name is
github.com/foo/bar
):go mod init github.com/foo/bar # Or: gop mod init github.com/foo/bar
If you import external packages, before compiling you should execute: