You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
351 B
19 lines
351 B
package dao |
|
|
|
import ( |
|
"context" |
|
"testing" |
|
|
|
. "github.com/smartystreets/goconvey/convey" |
|
) |
|
|
|
func Test_switch(t *testing.T) { |
|
initd() |
|
Convey("Parse Json To Struct", t, func() { |
|
target := int64(27515316) |
|
fs, err := d.GetFansBySwitch(context.TODO(), target) |
|
t.Logf("the result included(%v) err(%v)", fs, err) |
|
|
|
So(err, ShouldEqual, nil) |
|
}) |
|
}
|
|
|