Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
孙龙
/
ichunt_golang_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
d245da21
authored
Mar 01, 2021
by
孙龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
init
parent
d9d564a1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
cmd/main.go
cmd/main.go
View file @
d245da21
...
...
@@ -2,15 +2,13 @@ package main
import
(
"flag"
"fmt"
"github.com/ichunt2019/cfg/lib"
"ichunt_golang/boot"
"ichunt_golang/util/regist_etcd"
"os"
"os/signal"
"syscall"
"ichunt_golang/router"
"ichunt_golang/boot"
"ichunt_golang/util/regist_etcd"
)
var
(
configPath
string
...
...
@@ -22,8 +20,7 @@ func main(){
flag
.
Parse
()
boot
.
Init
(
configPath
,
logPath
)
fmt
.
Println
(
lib
.
Instance
(
"proxy"
)
.
GetString
(
"micro_service_name"
))
go
func
()
{
router
.
HttpServerRun
()
...
...
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