当前位置:网站首页>Win 10 create a gin framework project
Win 10 create a gin framework project
2022-06-28 20:09:00 【Quaternion】
First step
Create a new folder , Name it mygin1. Go to this folder , Enter... In the file path column cmd Enter command line window 
The second step
Enter... On the command line go mod init Folder name ,( The premise is golang The basic operating environment configuration of is perfect , The first step is to initialize the official requirements go Project management documents go.mod, Cannot install without this gin frame )
Be careful : Although I can't say why , You can set it up
go env -w GO111MODULE=on
The third step
go.mod Once you have it, you can enter it directly gin The installation command of the framework .
go get -u github.com/gin-gonic/gin
But notice : Because you can access GitHub be limited to , Can be in cmd Window settings proxy
go env -w GOPROXY=https://goproxy.io,direct
Step four
Close the command line window , Use the folder Goland Open the tool . You can create main.go File to test .
边栏推荐
- Bluecmsv1.6 code audit
- jvm内存结构
- Are you still paying for your thesis? Come and join me
- Quaternion quaternion and Euler angle transformation in ROS
- bluecmsv1.6代码审计
- 【324. 摆动排序 II】
- csdn涨薪技术-Selenium自动化测试全栈总结
- Compression and decompression commands
- 【毕业季·进击的技术er】努力只能及格,拼命才能优秀!
- 电子科大(申恒涛团队)&京东AI(梅涛团队)提出用于视频问答的结构化双流注意网络,性能SOTA!优于基于双视频表示的方法!...
猜你喜欢

Software supply chain security risk guide for enterprise digitalization and it executives

Day88. qiniu cloud: upload house source pictures and user avatars

Markdown drawing Mermaid practical tutorial

bluecmsv1.6代码审计

rsync远程同步

Racher add / delete node

2022年T电梯修理考试题库模拟考试平台操作

Why is it not enough to declare the structure alias when using the structure variable of other files in C language, and the proper name must be used? (cannot add struct when using alias)

5G NR MBS架构介绍

【Go语言刷题篇】Go从0到入门5:Map综合复习、条件语句、循环语句练习
随机推荐
Fix the simulator that cannot be selected by flutter once
类加载机制与对象的创建
2022年4月10日--使用C#迈出第一步--使用C#从.NET类库调用方法(没看懂)
2837. The total number of teams
C language - function knowledge points
Use of WC command
[algorithm] I brushed two big factory interview questions and learned array again with tears in my eyes“
Day88. qiniu cloud: upload house source pictures and user avatars
Nanopc-t4 (rk3399) Game1 OLED (I2C) display time weather temperature
2837. The total number of teams
2022 P cylinder filling test exercises and online simulation test
echart:横向柱状图的类目文字位置调整
2. 整合 Filter
QSP读取标签配置错误问题
还在付费下论文吗?快来跟我一起白piao知网
Severity code description project file line suppress status error lnk2038 detected a mismatch of "runtimelibrary": the value "md\u dynamicrelease" does not match the value "mdd\u dynamicde"
Concours de segmentation des images gastro - intestinales de kaggle Baseline
CSDN salary increase technology selenium automated test stack summary
修复一次flutter 无法选中模拟器
社招两年半10个公司28轮面试面经