Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Suite ¶
type Suite struct { suite.Suite Dns string Db *gorm.DB GormSingleModel bool Models []interface{} // 初始化GORM模型 *指针* Cleaner dbcleaner.DbCleaner SeedFileName string Polluter *polluter.Polluter Verbose bool // 是否输出SQL语句 // contains filtered or unexported fields }
func (*Suite) SetupSuite ¶
func (s *Suite) SetupSuite()
func (*Suite) TearDownSuite ¶
func (s *Suite) TearDownSuite()
func (*Suite) TearDownTest ¶
func (s *Suite) TearDownTest()
Click to show internal directories.
Click to hide internal directories.