feat: basalt 0.0.1

This commit is contained in:
FernandoJVideira committed 2026-01-27 17:33:14 +00:00
1 parent 487d1d324d
commit 5e31fc2f23
22 files changed
+1364 -1

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
package service
import (
"context"
"fmt"
db "{{ .ModuleName }}/internal/db/sqlc"
// TODO: Add other imports as needed
// "{{ .ModuleName }}/internal/worker"
)
type {{ .LowerName }}Service struct {
store db.Store
// TODO: Add other dependencies
// taskDistributor worker.TaskDistributor
}
// New{{ .Name }}Service creates a new {{ .LowerName }} service
func New{{ .Name }}Service(store db.Store) {{ .Name }}Service {
return &{{ .LowerName }}Service{
store: store,
}
}