feat:完成首页搜索功能

This commit is contained in:
henry
2022-01-18 16:29:29 +08:00
parent 478182dcb0
commit 10224e8db6
21 changed files with 572 additions and 167 deletions

View File

@ -40,14 +40,19 @@ func TestExchange(t *testing.T) {
}
func TestAnyToByte(t *testing.T) {
src := []int{1}
mark := 0
for i := 0; i < len(src); i++ {
mark = mark | src[i]
swan := func(a, b interface{}) {
// t world
c := b
b = a
a = c
t.Log(AnyToJSON(a))
t.Log(AnyToJSON(b))
t.Log(AnyToJSON(c))
}
t.Log(mark)
a := "hello"
b := "world"
swan(&a, &b)
}
func TestFromJSONFile(t *testing.T) {