官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 额敏县| 西青区| 鹤壁市| 那曲县| 湟源县| 布拖县| 平湖市| 博客| 科技| 绵阳市| 新河县| 邹城市| 固安县| 息烽县| 赣州市| 新干县| 海原县| 综艺| 兰州市| 亳州市| 河源市| 宁强县| 阿克苏市| 友谊县| 长治市| 射洪县| 固始县| 油尖旺区| 青浦区| 多伦县| 肥乡县| 双牌县| 凤台县| 永善县| 白河县| 建水县| 资源县| 绍兴市| 乌鲁木齐县| 当涂县| 中方县|