user_test.go 229 B

1234567891011121314
  1. package dao
  2. import (
  3. "testing"
  4. . "github.com/smartystreets/goconvey/convey"
  5. )
  6. func Test_User(t *testing.T) {
  7. Convey("test QueryUser", t, func() {
  8. _, err := d.QueryUserByUserName("hujianping")
  9. So(err, ShouldBeNil)
  10. })
  11. }