当前位置:网站首页>golang modules initialization project
golang modules initialization project
2022-07-30 15:32:00 【JavaPub-rodert】
Blogger introduction: Self-media JavaPub independent maintainer, 15w+ fans on the whole network, csdn blog expert, high-quality creator in java field, 51ctoTOP10 blogger, Zhihu/Nuggets/Huawei Cloud/AliHigh-quality author of platforms such as cloud/InfoQ, focusing on Java,
GoLangtechnology fields and side jobs.GoLang is more convenient to learn, I have a text in hand, I have interviews
GoLang Interview | GoLang Interview | GoLang Interview
Article table of contents
Foreword
Environment: golang 1.18.3

Setup Code
GOPROXY="https://goproxy.io,direct"go modules common commands
go mod init # initialize go.modgo mod tidy # Update dependency filesgo mod download # Download dependent filesgo mod vendor # Executing this command will copy the dependencies just downloaded to GOPATH to the vendor (automatically created) folder in the root directory of the projectgo mod edit # Manually modify dependency filesgo mod graph # print dependency graphgo mod verify # Verify dependencies
边栏推荐
猜你喜欢

Mac 中 MySQL 的安装与卸载

JVM performance tuning

Container sorting case

This editor actually claims to be as fast as lightning!

Installing and Uninstalling MySQL on Mac

The evolution of content products has three axes: traffic, technology, and product form

golang modules初始化项目

那些破釜沉舟入局Web3.0的互联网精英都怎么样了?

Smart Contract Security - Private Data Access

canal scrape data
随机推荐
InputStream和OutputStream流的使用
Smart Contract Security - Private Data Access
JUC common thread pool source learning 02 ( ThreadPoolExecutor thread pool )
关于mariadb/mysql的user表:密码正确但登录失败,可能与mysql的空用户有关
阿里CTO程立:阿里巴巴的开源历程、理念和实践
golang modules初始化项目
惊艳!京东T8纯手码的Redis核心原理手册,基础与源码齐下
Memory-mapped, bit-band operations
Start learning C language
postgresql的普通字符串和转义字符串
GeoServer
v-model组件化编程应用
canal scrape data
Get the Google Advertising ID as a unique identifier
智能合约安全——私有数据访问
English语法_不定代词 - both / either / neither
A simple change for problem, knapsack problem sets of shell
有关收集箱的改进建议
GeoServer
Flink optimization
