当前位置:网站首页>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 :
边栏推荐
- Software testing is so hard to find, only outsourcing offers, should I go?
- php 迷宫游戏
- 太阳底下无新事,元宇宙能否更上层楼?
- Complete deep neural network CNN training with tensorflow to complete picture recognition case 2
- Screenshot of the operation steps of upload labs level 4-level 9
- [développement technologique - 24]: caractéristiques des technologies de communication Internet des objets existantes
- Logseq evaluation: advantages, disadvantages, evaluation, learning tutorial
- Kivy tutorial how to load kV file design interface by string (tutorial includes source code)
- 实现CNN图像的识别和训练通过tensorflow框架对cifar10数据集等方法的处理
- Mycms we media mall v3.4.1 release, user manual update
猜你喜欢
Introduction to the implementation principle of rxjs observable filter operator
Kivy教程之 如何自动载入kv文件
Brief analysis of tensorboard visual processing cases
太阳底下无新事,元宇宙能否更上层楼?
使用Tensorflow进行完整的深度神经网络CNN训练完成图片识别案例2
Road construction issues
Screenshot of the operation steps of upload labs level 4-level 9
MySQL functions and related cases and exercises
8 Queen question
Resolved (error in viewing data information in machine learning) attributeerror: target_ names
随机推荐
[understanding by chance-37]: the structure of human sensory system determines that human beings are self-centered
Leetcode-1175.Prime Arrangements
Introduction to the implementation principle of rxjs observable filter operator
Another industry has been broken by Chinese chips. No wonder the leading analog chip companies in the United States have cut prices and sold off
[today in history] July 3: ergonomic standards act; The birth of pioneers in the field of consumer electronics; Ubisoft releases uplay
服务器硬盘冷迁移后网卡无法启动问题
挡不住了,国产芯片再度突进,部分环节已进到4nm
Libuv库 - 设计概述(中文版)
Heap structure and heap sort heapify
Internet of things completion -- (stm32f407 connects to cloud platform detection data)
Kivy教程之 盒子布局 BoxLayout将子项排列在垂直或水平框中(教程含源码)
Unity Render Streaming通过Js与Unity自定义通讯
Replace the GPU card number when pytorch loads the historical model, map_ Location settings
Spark practice 1: build spark operation environment in single node local mode
Logseq evaluation: advantages, disadvantages, evaluation, learning tutorial
[556. Next larger element III]
Swiftui development experience: the five most powerful principles that a programmer needs to master
[技術發展-24]:現有物聯網通信技術特點
Record 405 questions about bank callback post request
Box layout of Kivy tutorial BoxLayout arranges sub items in vertical or horizontal boxes (tutorial includes source code)