mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-01-31 00:38:37 +08:00
30 lines
833 B
Go
30 lines
833 B
Go
// ==========================================================================
|
|
// Code generated by GoFrame CLI tool. DO NOT EDIT.
|
|
// ==========================================================================
|
|
|
|
package service
|
|
|
|
import (
|
|
"context"
|
|
"hotgo/internal/model/input/sysin"
|
|
)
|
|
|
|
type ISysDictData interface {
|
|
Delete(ctx context.Context, in sysin.DictDataDeleteInp) error
|
|
Edit(ctx context.Context, in sysin.DictDataEditInp) (err error)
|
|
List(ctx context.Context, in sysin.DictDataListInp) (list []*sysin.DictDataListModel, totalCount int, err error)
|
|
}
|
|
|
|
var localSysDictData ISysDictData
|
|
|
|
func SysDictData() ISysDictData {
|
|
if localSysDictData == nil {
|
|
panic("implement not found for interface ISysDictData, forgot register?")
|
|
}
|
|
return localSysDictData
|
|
}
|
|
|
|
func RegisterSysDictData(i ISysDictData) {
|
|
localSysDictData = i
|
|
}
|