You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
627 B
Go
25 lines
627 B
Go
package model
|
|
|
|
import "github.com/zeromicro/go-zero/core/stores/sqlx"
|
|
|
|
var _ UserPlatformModel = (*customUserPlatformModel)(nil)
|
|
|
|
type (
|
|
// UserPlatformModel is an interface to be customized, add more methods here,
|
|
// and implement the added methods in customUserPlatformModel.
|
|
UserPlatformModel interface {
|
|
userPlatformModel
|
|
}
|
|
|
|
customUserPlatformModel struct {
|
|
*defaultUserPlatformModel
|
|
}
|
|
)
|
|
|
|
// NewUserPlatformModel returns a model for the database table.
|
|
func NewUserPlatformModel(conn sqlx.SqlConn) UserPlatformModel {
|
|
return &customUserPlatformModel{
|
|
defaultUserPlatformModel: newUserPlatformModel(conn),
|
|
}
|
|
}
|