Initial commit

This commit is contained in:
Donny
2019-04-22 20:46:32 +08:00
commit 49ab8aadd1
25441 changed files with 4055000 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
package manager
import (
"context"
. "github.com/smartystreets/goconvey/convey"
"testing"
)
func Test_GetUIDByName(t *testing.T) {
var (
err error
)
Convey("GetUIDByName", t, WithDao(func(d *Dao) {
_, err = d.GetUIDByName(context.Background(), "1111")
So(err, ShouldBeNil)
}))
}
func Test_GetNameByUID(t *testing.T) {
var (
err error
)
Convey("GetUIDByName", t, WithDao(func(d *Dao) {
_, err = d.GetNameByUID(context.Background(), []int64{1, 2})
So(err, ShouldBeNil)
}))
}