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

Function NewPlateRepository

internal/repository/plate.go:23–28  ·  view source on GitHub ↗
(l *zap.Logger, dao dao.PlateDAO)

Source from the content-addressed store, hash-verified

21}
22
23func NewPlateRepository(l *zap.Logger, dao dao.PlateDAO) PlateRepository {
24 return &plateRepository{
25 l: l,
26 dao: dao,
27 }
28}
29
30func (p *plateRepository) CreatePlate(ctx context.Context, plate domain.Plate) error {
31 return p.dao.CreatePlate(ctx, plate)

Callers 1

InitWebServerFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected