Documentation
¶
Index ¶
- func GenDuplicateKeySql(rows []string) string
- func GenInsertSql(rows []string) string
- func GenSelectFieldsSql(tableName string, rows []string) string
- func GenUpdateSql(rows []string) string
- func MustJSONMarshal(c interface{}) string
- func MustJSONUnmarshal(data []byte, v interface{})
- func NewCountRows(count int) *sqlmock.Rows
- func NewSqlMock() (sqlmock.Sqlmock, *gorm.DB)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenSelectFieldsSql ¶
GenSelectFieldsSql ...
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.