优化结构
This commit is contained in:
@@ -50,7 +50,7 @@ type VersionRepo interface {
|
||||
FindVersion(context.Context, uint) (*Version, error)
|
||||
ListVersions(context.Context, int, int, string, string, []*time.Time) ([]*Version, int64, error)
|
||||
BuildVersionBundle(context.Context, []uint, []uint, []uint) (*VersionBundle, error)
|
||||
ImportVersionBundle(context.Context, *VersionBundle) error
|
||||
ImportVersionBundle(context.Context, *VersionBundle, *Version) error
|
||||
}
|
||||
type VersionUsecase struct{ VersionRepo }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user