Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
search_server
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
fbd773ab
authored
Jun 24, 2020
by
huangchengyi
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
1.0
parent
b2a0eaeb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
cmd/search_http_server.go
doc/bom_service.md
go.mod
cmd/search_http_server.go
View file @
fbd773ab
...
@@ -12,7 +12,7 @@ import (
...
@@ -12,7 +12,7 @@ import (
func
main
()
{
func
main
()
{
var
path
string
var
path
string
flag
.
StringVar
(
&
path
,
"config"
,
"
../
conf/config.ini"
,
"配置文件"
)
flag
.
StringVar
(
&
path
,
"config"
,
"conf/config.ini"
,
"配置文件"
)
flag
.
Parse
()
flag
.
Parse
()
if
err
:=
boot
.
Boot
(
path
);
err
!=
nil
{
if
err
:=
boot
.
Boot
(
path
);
err
!=
nil
{
panic
(
err
)
panic
(
err
)
...
...
doc/bom_service.md
0 → 100644
View file @
fbd773ab
##bom_service 实现了bom的搜索
go.mod
View file @
fbd773ab
...
@@ -16,7 +16,9 @@ require (
...
@@ -16,7 +16,9 @@ require (
github.com/ichunt2019/logger v1.0.5
github.com/ichunt2019/logger v1.0.5
github.com/imroc/req v0.3.0
github.com/imroc/req v0.3.0
github.com/jinzhu/gorm v1.9.12
github.com/jinzhu/gorm v1.9.12
github.com/micro/go-micro/v2 v2.5.0
github.com/joncalhoun/qson v0.0.0-20170526102502-8a9cab3a62b1 // indirect
github.com/mholt/certmagic v0.9.3 // indirect
github.com/micro/go-micro/v2 v2.9.0
github.com/prometheus/client_golang v1.5.1 // indirect
github.com/prometheus/client_golang v1.5.1 // indirect
github.com/prometheus/common v0.9.1
github.com/prometheus/common v0.9.1
github.com/prometheus/procfs v0.0.11 // indirect
github.com/prometheus/procfs v0.0.11 // indirect
...
@@ -33,6 +35,7 @@ require (
...
@@ -33,6 +35,7 @@ require (
gopkg.in/ini.v1 v1.51.0 // indirect
gopkg.in/ini.v1 v1.51.0 // indirect
gopkg.in/mgo.v2 v2.0.0-20190816093944-a6b53ec6cb22
gopkg.in/mgo.v2 v2.0.0-20190816093944-a6b53ec6cb22
gopkg.in/olivere/elastic.v5 v5.0.85
gopkg.in/olivere/elastic.v5 v5.0.85
gopkg.in/src-d/go-git.v4 v4.13.1 // indirect
sigs.k8s.io/yaml v1.2.0 // indirect
sigs.k8s.io/yaml v1.2.0 // indirect
)
)
...
...
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