- Microservice Patterns and Best Practices
- Vinicius Feitosa Pacheco
- 123字
- 2021-06-30 19:02:54
Package manager
If the Go ecosystem has a weak point, it is this. Go dependency management has always been something that requires a lot of attention.
If you do not know, the official repository of the Go dependencies is Git. Exactly, all Git, no matter if it's GitHub, Bitbucket, or any other. The problem is that when downloading a dependency using the Go command (go get ...), the version that will come to the application is always the one in the master repository. So there is no strict control of additions.
A package manager will use godep (https://github.com/tools/godep). This is a simple tool, which controls the versions used in the project guarding a JSON file with the repository URL and hash Git history.
推薦閱讀
- RCNP實(shí)驗(yàn)指南:構(gòu)建高級的路由互聯(lián)網(wǎng)絡(luò)(BARI)
- 工業(yè)控制網(wǎng)絡(luò)安全技術(shù)與實(shí)踐
- 物聯(lián)網(wǎng)信息安全
- 互聯(lián)網(wǎng)安全的40個智慧洞見:2014年中國互聯(lián)網(wǎng)安全大會文集
- 網(wǎng)絡(luò)安全技術(shù)與解決方案(修訂版)
- PLC、現(xiàn)場總線及工業(yè)網(wǎng)絡(luò)實(shí)用技術(shù)速成
- 大話社交網(wǎng)絡(luò)
- 物聯(lián)網(wǎng)與無線傳感器網(wǎng)絡(luò)
- 圖解手機(jī)元器件維修技巧
- C/C++串口通信:典型應(yīng)用實(shí)例編程實(shí)踐
- Windows Server 2012 Hyper-V虛擬化管理實(shí)踐
- 網(wǎng)管第一課:網(wǎng)絡(luò)操作系統(tǒng)與配置管理
- 組網(wǎng)技術(shù)與網(wǎng)絡(luò)管理
- 云計(jì)算技術(shù)與標(biāo)準(zhǔn)化
- 新媒體交互藝術(shù)