- Distributed Computing with Go
- V.N. Nikhil Anurag
- 110字
- 2021-06-24 18:36:05
GOPATH
Programmers tend to work on many projects and it is good practice to have the source code separate from nonprogramming-related files. It is a common practice to have the source code in a separate location or workspace. Every programming language has its own conventions on how the language-related projects should be set up and Go is no exception to this.
GOPATH is the most important environment variable the developer has to set. It tells the Go compiler where to find the source code for the project and its dependencies. There are conventions within the GOPATH that need to be followed, and they have to deal with folder hierarchies.
推薦閱讀
- Mastering ElasticSearch
- 嵌入式應用程序設計綜合教程(微課版)
- Linux集群和自動化運維
- macOS效率手冊
- iOS 8開發指南
- Linux網絡配置與安全管理
- 從零開始學安裝與重裝系統
- μC/OS-III內核實現與應用開發實戰指南:基于STM32
- Learning Continuous Integration with Jenkins(Second Edition)
- Linux應用大全 基礎與管理
- 大學計算機應用基礎實踐教程(Windows 7+MS Office 2010)
- Zabbix監控系統之深度解析和實踐
- Java EE 8 High Performance
- Implementing Cloud Design Patterns for AWS(Second Edition)
- 電子商務系統建設與管理