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
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
cmd/main.go
cmd/main.go
View file @
d245da21
...
@@ -2,15 +2,13 @@ package main
...
@@ -2,15 +2,13 @@ package main
import
(
import
(
"flag"
"flag"
"fmt"
"github.com/ichunt2019/cfg/lib"
"ichunt_golang/boot"
"ichunt_golang/util/regist_etcd"
"os"
"os"
"os/signal"
"os/signal"
"syscall"
"syscall"
"ichunt_golang/router"
"ichunt_golang/router"
"ichunt_golang/boot"
"ichunt_golang/util/regist_etcd"
)
)
var
(
var
(
configPath
string
configPath
string
...
@@ -23,7 +21,6 @@ func main(){
...
@@ -23,7 +21,6 @@ func main(){
boot
.
Init
(
configPath
,
logPath
)
boot
.
Init
(
configPath
,
logPath
)
fmt
.
Println
(
lib
.
Instance
(
"proxy"
)
.
GetString
(
"micro_service_name"
))
go
func
()
{
go
func
()
{
router
.
HttpServerRun
()
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