MCPcopy Create free account
hub / github.com/GoSimplicity/LinkMe / NewApiRepository

Function NewApiRepository

internal/repository/api.go:24–29  ·  view source on GitHub ↗
(l *zap.Logger, dao dao.ApiDAO)

Source from the content-addressed store, hash-verified

22}
23
24func NewApiRepository(l *zap.Logger, dao dao.ApiDAO) ApiRepository {
25 return &apiRepository{
26 l: l,
27 dao: dao,
28 }
29}
30
31// CreateApi 创建新的API
32func (a *apiRepository) CreateApi(ctx context.Context, api *domain.Api) error {

Callers 1

InitWebServerFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected