Blogger Information
Blog 28
fans 0
comment 2
visits 52103
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
关于golang安装gin的步骤
耶和华信徒的博客
Original
650 people have browsed it

# 初始化项目目录

1、新建项目文件 如:demo_project
2、初始项目

//初始化项目名,可以根据自己的爱好,推荐与目录名一致
go mod init demo_project

3、加载依赖工具

go mod tidy

4、下载gin框架

go get -u github.com/gin-gonic/gin
后面就可以使用gin get 命令来下载使用依赖的工具了,如 gorm、viper等

Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post