// ================================================================================ // 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 ( IArticle interface { GetArticleList(ctx context.Context, name string) (articleList []*entity.FxArticle, err error) } ) var ( localArticle IArticle ) func Article() IArticle { if localArticle == nil { panic("implement not found for interface IArticle, forgot register?") } return localArticle } func RegisterArticle(i IArticle) { localArticle = i }