当前位置:网站首页>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/amd64
5、 ... and , see goland Version of :
边栏推荐
- Setting up remote links to MySQL on Linux
- Box layout of Kivy tutorial BoxLayout arranges sub items in vertical or horizontal boxes (tutorial includes source code)
- 实现CNN图像的识别和训练通过tensorflow框架对cifar10数据集等方法的处理
- MySQL functions and related cases and exercises
- 【被动收入如何挣个一百万】
- 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
- untiy世界边缘的物体阴影闪动,靠近远点的物体阴影正常
- This math book, which has been written by senior ml researchers for 7 years, is available in free electronic version
- Unity Render Streaming通过Js与Unity自定义通讯
- SQL Injection (POST/Search)
猜你喜欢
SQL Injection (GET/Search)
SQL Injection (AJAX/JSON/jQuery)
Resolved (error in viewing data information in machine learning) attributeerror: target_ names
NFT新的契机,多媒体NFT聚合平台OKALEIDO即将上线
Multi table query of MySQL - multi table relationship and related exercises
又一个行业被中国芯片打破空白,难怪美国模拟芯片龙头降价抛售了
[développement technologique - 24]: caractéristiques des technologies de communication Internet des objets existantes
[how to solve FAT32 when the computer is inserted into the U disk or the memory card display cannot be formatted]
[技术发展-24]:现有物联网通信技术特点
太阳底下无新事,元宇宙能否更上层楼?
随机推荐
Comprehensively develop the main channel of digital economy and digital group, and actively promote the utonmos digital Tibet market
Complete DNN deep neural network CNN training with tensorflow to complete image recognition cases
太阳底下无新事,元宇宙能否更上层楼?
Logback log sorting
Bidirectional linked list (we only need to pay attention to insert and delete functions)
Typeerror resolved: argument 'parser' has incorrect type (expected lxml.etree.\u baseparser, got type)
Comprehensive evaluation of double chain notes remnote: fast input, PDF reading, interval repetition / memory
Start signing up CCF C ³- [email protected] chianxin: Perspective of Russian Ukrainian cyber war - Security confrontation and sanctions g
Kivy教程之 盒子布局 BoxLayout将子项排列在垂直或水平框中(教程含源码)
[understanding by chance-37]: the structure of human sensory system determines that human beings are self-centered
Mycms we media mall v3.4.1 release, user manual update
【被动收入如何挣个一百万】
PowerPoint tutorial, how to save a presentation as a video in PowerPoint?
[技术发展-24]:现有物联网通信技术特点
Go language web development series 26: Gin framework: demonstrates the execution sequence of code when there are multiple middleware
The R language GT package and gtextras package gracefully and beautifully display tabular data: nflreadr package and gt of gtextras package_ plt_ The winloss function visualizes the win / loss values
栈应用(平衡符)
[556. Next larger element III]
Unity Render Streaming通过Js与Unity自定义通讯
Asp. Net core1.1 without project JSON, so as to generate cross platform packages