当前位置:网站首页>GoLand 2021.1: rename the go project
GoLand 2021.1: rename the go project
2022-07-03 13:48:00 【Lao Liu, you are so awesome】
Examples of operations : hold ginscaffold Renamed as admback
One , Rename the project folder :
[email protected]:/data/go$ cp -axv ginscaffold/ admback
explain : Liu Hongdi's go The forest is a focus golang The blog of ,
Address : Liu Hongdi's go The forest _ Lao Liu, you are so awesome _CSDN Blog
explain : author : Liu Hongdi mailbox : [email protected]
Two , use goland Open the project
Pictured :

1, Change project name :
Selected items -> Right click ->Refactor->Rename
Select from the pop-up menu Rename Project

It is amended as follows admback
Then click OK Button
2, Modify package name
Right click on the project ->Replace in Files
Pictured : hold ginscaffold Replace with admback

spot Replace All Button
3、 ... and , Test Packet
[email protected]:/data/go/admback$ go build
[email protected]:/data/go/admback$ ./admback
setting:
&{debug 8000 60ns 60ns}
&{mysql root rootpassword 127.0.0.1:3306 dig utf8 true 10 30}
&{/data/gologs/logs info warn log}
&{/data/gologs/logs access log}
modelPath:/data/go/admback/config/rbac_model.conf
[GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- using env: export GIN_MODE=release
- using code: gin.SetMode(gin.ReleaseMode)
[GIN-debug] GET /static/*filepath --> github.com/gin-gonic/gin.(*RouterGroup).createStaticHandler.func1 (7 handlers)
[GIN-debug] HEAD /static/*filepath --> github.com/gin-gonic/gin.(*RouterGroup).createStaticHandler.func1 (7 handlers)
…
Four , see go Version of
[email protected]:/data/go/admback$ go version
go version go1.16.4 linux/amd645、 ... and , see goland Version of :

边栏推荐
- Resolved (error in viewing data information in machine learning) attributeerror: target_ names
- The shortage of graphics cards finally came to an end: 3070ti for more than 4000 yuan, 2000 yuan cheaper than the original price, and 3090ti
- [technology development-24]: characteristics of existing IOT communication technology
- Static linked list (subscript of array instead of pointer)
- Halcon combined with C # to detect surface defects -- Halcon routine autobahn
- [how to earn a million passive income]
- When updating mysql, the condition is a query
- CVPR 2022 | 美团技术团队精选6篇优秀论文解读
- Complete deep neural network CNN training with tensorflow to complete picture recognition case 2
- CVPR 2022 | interpretation of 6 excellent papers selected by meituan technical team
猜你喜欢

Go language web development series 25: Gin framework: using MD5 to verify the signature for the interface station

Logback log sorting

SQL Injection (POST/Search)

PowerPoint tutorial, how to save a presentation as a video in PowerPoint?

Resolved (error in viewing data information in machine learning) attributeerror: target_ names

The principle of human voice transformer

logback日志的整理

Flutter dynamic | fair 2.5.0 new version features

常见的几种最优化方法Matlab原理和深度分析
![[quantitative trading] permanent portfolio, turtle trading rules reading, back testing and discussion](/img/3b/28327bbf5eb19254f03500a41e2adb.jpg)
[quantitative trading] permanent portfolio, turtle trading rules reading, back testing and discussion
随机推荐
Start signing up CCF C ³- [email protected] chianxin: Perspective of Russian Ukrainian cyber war - Security confrontation and sanctions g
Anan's doubts
使用Tensorflow进行完整的深度神经网络CNN训练完成图片识别案例2
挡不住了,国产芯片再度突进,部分环节已进到4nm
SQL Injection (POST/Select)
[quantitative trading] permanent portfolio, turtle trading rules reading, back testing and discussion
JVM系列——概述,程序计数器day1-1
Go language unit test 4: go language uses gomonkey to test functions or methods
Kivy教程之 如何通过字符串方式载入kv文件设计界面(教程含源码)
Mastering the cypress command line options is the basis for truly mastering cypress
Golang — template
JS convert pseudo array to array
[understanding by chance-37]: the structure of human sensory system determines that human beings are self-centered
JS 将伪数组转换成数组
【BW16 应用篇】安信可BW16模组与开发板更新固件烧录说明
Can newly graduated European college students get an offer from a major Internet company in the United States?
Software testing is so hard to find, only outsourcing offers, should I go?
Universal dividend source code, supports the dividend of any B on the BSC
全面发展数字经济主航道 和数集团积极推动UTONMOS数藏市场
windos 创建cordova 提示 因为在此系统上禁止运行脚本