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
6e52de3a
authored
Jul 03, 2020
by
mushishixian
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
fix
parent
743fcefb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
test/test.go
test/test.go
View file @
6e52de3a
...
...
@@ -3,6 +3,7 @@ package main
import
(
"flag"
"fmt"
"github.com/tidwall/gjson"
"search_server/boot"
"search_server/pkg/mysql"
)
...
...
@@ -23,7 +24,13 @@ func main() {
//mysql.Connection()("bom").Table("bin").Find(&result)
fmt
.
Println
(
result
)
//fmt.Println(model.GetExcludeBrandIds(1))
<<<<<<<
Updated
upstream
=======
fmt
.
Println
(
config
.
GetSectionValues
(
"supplier_all"
))
fmt
.
Println
(
config
.
Cfg
.
Section
(
"supplier_all"
)
.
Key
(
"1"
))
fmt
.
Println
(
gjson
.
Get
(
`{"is_new",-1}`
,
"is_new"
)
.
Bool
())
>>>>>>>
Stashed
changes
//client := client.
//c := course.NewCourseService("go.micro.api.jtthink.course", client)
//course_rsp, _ := c.ListForTop(context.TODO(), &course.ListRequest{Size: 10})
...
...
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