Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
孙龙
/
golang_framework_demo
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
3df5c841
authored
Sep 27, 2021
by
孙龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
up
parent
d57c000f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
README.md
README.md
View file @
3df5c841
# golang_framework_demo
# golang_framework_demo
该示例的项目名称为 : golang_framework_demo , 如果你要使用,请自行替换成你的项目名称
该示例的项目名称为 : golang_framework_demo , 如果你要使用,请自行替换成你的项目名称
1.
clone项目
#
1.clone项目
git clone http://git.ichunt.net/sunlong_v5/golang_framework_demo.git
git clone http://git.ichunt.net/sunlong_v5/golang_framework_demo.git
2.
删除.git文件夹,重新初始化git
#
2.删除.git文件夹,重新初始化git
3.
修改项目文件夹名称
#
3.修改项目文件夹名称
1.
将 golang_framework_demo 改成 golang_framework_xxxxxxx
1.
将 golang_framework_demo 改成 golang_framework_xxxxxxx
...
@@ -19,14 +19,14 @@ git clone http://git.ichunt.net/sunlong_v5/golang_framework_demo.git
...
@@ -19,14 +19,14 @@ git clone http://git.ichunt.net/sunlong_v5/golang_framework_demo.git
4.
修改go.mod文件(重要)
#
4.修改go.mod文件(重要)
一定要修改go.mod文件,要不然无法跑起来
一定要修改go.mod文件,要不然无法跑起来
把go.mod的第一行 : golang_framework_demo 修改成 golang_framework_xxxxxxx
把go.mod的第一行 : golang_framework_demo 修改成 golang_framework_xxxxxxx
5.
修改http监听地址
#
5.修改http监听地址
config/proxy.toml.http.addr 修改成你的ip地址或者本地127.0.0.1
config/proxy.toml.http.addr 修改成你的ip地址或者本地127.0.0.1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment