golang辅助包介绍

栏目: Go · 发布时间: 7年前

内容简介:本文章持续更新解决因为被墙,go get 无法下载问题下载下来可通过

本文章持续更新

1. gopm

解决因为被墙,go get 无法下载问题

go get github.com/gpmgo/gopm

下载下来可通过 gopm get [下载地址] 方式下载

2. goimport

自动添加缺失的import 行, 自动删除多余的import行

gopm get -v golang.org/x/tools/cmd/goimports

3. dep

包依赖管理工具,如果自己的项目依赖的包很多,又不想加入到版本库中,可使用此 工具 进行批量下载

go get -v github.com/golang/dep

4. protobuf

  • 解决json、xml文件信息过大问题,方便信息更快传输
  • 如果文件想在项目中进行编辑则不合适,因为protobuf产生的是二进制

此工具使用稍微比较负责,请前往 【golang-protobuf使用】


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。

Design and Analysis of Distributed Algorithms (Wiley Series on P

Design and Analysis of Distributed Algorithms (Wiley Series on P

Nicola Santoro / Wiley-Interscience / 2006-10-27 / USD 140.95

This text is based on a simple and fully reactive computational model that allows for intuitive comprehension and logical designs. The principles and techniques presented can be applied to any distrib......一起来看看 《Design and Analysis of Distributed Algorithms (Wiley Series on P》 这本书的介绍吧!

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器