|
123456789101112131415161718192021222324 |
- package model
-
- import "github.com/zeromicro/go-zero/core/stores/sqlx"
-
- var _ ComputeClusterModel = (*customComputeClusterModel)(nil)
-
- type (
- // ComputeClusterModel is an interface to be customized, add more methods here,
- // and implement the added methods in customComputeClusterModel.
- ComputeClusterModel interface {
- computeClusterModel
- }
-
- customComputeClusterModel struct {
- *defaultComputeClusterModel
- }
- )
-
- // NewComputeClusterModel returns a model for the database table.
- func NewComputeClusterModel(conn sqlx.SqlConn) ComputeClusterModel {
- return &customComputeClusterModel{
- defaultComputeClusterModel: newComputeClusterModel(conn),
- }
- }
|