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
8fbc8f1d
authored
Jul 02, 2020
by
mushishixian
Browse files
Options
_('Browse Files')
Download
Plain Diff
fix
parents
c32b5699
349b9c68
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
pkg/config/config.go
service/mouser_service.go
pkg/config/config.go
View file @
8fbc8f1d
package
config
import
(
"fmt"
"github.com/go-ini/ini"
"strings"
)
...
...
@@ -22,3 +23,7 @@ func Get(key string) *ini.Key {
}
return
cfg
.
Section
(
""
)
.
Key
(
key
)
}
func
GetSectionValue
(
key
string
)
{
fmt
.
Println
(
cfg
.
Section
(
"supplier_all"
)
.
KeyStrings
())
}
service/mouser_service.go
View file @
8fbc8f1d
...
...
@@ -70,6 +70,7 @@ func OutLink(goodsName string,flag string) map[string]*model.LyClearGoodsList {
}
return
productList
//os.Exit(1)
//xml := strings.NewReader(resp)
//json, err := xj.Convert(xml)
...
...
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