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