当前位置:网站首页>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 :

边栏推荐
- The shadow of the object at the edge of the untiy world flickers, and the shadow of the object near the far point is normal
- 挡不住了,国产芯片再度突进,部分环节已进到4nm
- 常见的几种最优化方法Matlab原理和深度分析
- Windos creates Cordova prompt because running scripts is prohibited on this system
- 使用Tensorflow进行完整的深度神经网络CNN训练完成图片识别案例2
- 全面发展数字经济主航道 和数集团积极推动UTONMOS数藏市场
- Static linked list (subscript of array instead of pointer)
- Go language unit test 4: go language uses gomonkey to test functions or methods
- Golang - command line tool Cobra
- [understanding by chance-37]: the structure of human sensory system determines that human beings are self-centered
猜你喜欢

Screenshot of the operation steps of upload labs level 4-level 9

Kivy tutorial how to automatically load kV files
![[机缘参悟-37]:人感官系统的结构决定了人类是以自我为中心](/img/06/b71b505c7072d540955fda6da1dc1b.jpg)
[机缘参悟-37]:人感官系统的结构决定了人类是以自我为中心

Tutoriel PowerPoint, comment enregistrer une présentation sous forme de vidéo dans Powerpoint?
![[技术发展-24]:现有物联网通信技术特点](/img/f3/a219fe8e7438b8974d2226b4c3d4a4.png)
[技术发展-24]:现有物联网通信技术特点

Comprehensive evaluation of double chain notes remnote: fast input, PDF reading, interval repetition / memory

MySQL functions and related cases and exercises

Multi table query of MySQL - multi table relationship and related exercises

When updating mysql, the condition is a query

PowerPoint tutorial, how to save a presentation as a video in PowerPoint?
随机推荐
软件测试工作那么难找,只有外包offer,我该去么?
8 Queen question
[bw16 application] instructions for firmware burning of Anxin Ke bw16 module and development board update
[today in history] July 3: ergonomic standards act; The birth of pioneers in the field of consumer electronics; Ubisoft releases uplay
CVPR 2022 | 美团技术团队精选6篇优秀论文解读
The solution of Chinese font garbled code in keil5
RichView TRVStyle ListStyle 列表样式(项目符号编号)
记录关于银行回调post请求405 问题
JS convert pseudo array to array
Golang - command line tool Cobra
Logseq evaluation: advantages, disadvantages, evaluation, learning tutorial
3D视觉——2.人体姿态估计(Pose Estimation)入门——OpenPose含安装、编译、使用(单帧、实时视频)
TensorBoard可视化处理案例简析
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
MySQL installation, uninstallation, initial password setting and general commands of Linux
Swiftui development experience: the five most powerful principles that a programmer needs to master
JSON serialization case summary
SQL Injection (GET/Search)
Kivy tutorial how to load kV file design interface by string (tutorial includes source code)
JS 将伪数组转换成数组