// ================================================================================ // Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. // You can delete these comments if you wish manually maintain this interface file. // ================================================================================ package service import ( "context" "link_homework/internal/model/entity" ) type ( ILive interface { GetLiveList(ctx context.Context) (liveList []*entity.Live, err error) } ) var ( localLive ILive ) func Live() ILive { if localLive == nil { panic("implement not found for interface ILive, forgot register?") } return localLive } func RegisterLive(i ILive) { localLive = i }