go-organization/README.md

17 lines
822 B
Markdown
Raw Normal View History

2023-07-19 15:03:27 +03:00
# go-organization
2023-07-24 09:14:33 +03:00
Understand project structure of GO. Go Modules, GOPATH, efficent development environment...
2023-07-19 15:12:57 +03:00
2023-07-24 09:14:33 +03:00
### Base Resources
2023-07-24 06:48:04 +03:00
- https://github.com/golang/go/wiki/Modules
- https://go.dev/blog/using-go-modules
2023-07-24 06:59:17 +03:00
- https://github.com/golang-standards/project-layout
- https://go.dev/doc/code
2023-07-24 09:14:33 +03:00
- https://tutorialedge.net/golang/go-project-structure-best-practices/
2023-07-24 06:59:17 +03:00
2023-07-24 06:48:04 +03:00
2023-07-24 09:14:33 +03:00
### FAQ
<details>
<summary>Is there any venv equal for Go language or any virtual environment tool?</summary>
No, previously GOPATH was used but now Go Modules are using instead of that. Thanks to Go Modules, go.mod file handles all versions/modules/packages and there is no need for a virtual environment. But if you have to use a virtual environment because of another reason just have a look at [this](https://github.com/GetStream/vg) repo
</details>