restructuring, config and readme

This commit is contained in:
u80864958
2025-04-29 14:57:48 +02:00
parent f027ee7e39
commit fc8b888198
19 changed files with 317 additions and 185 deletions

View File

@ -0,0 +1,11 @@
package blog
import "gorm.io/gorm"
type Service struct {
db *gorm.DB
}
func New(db *gorm.DB) *Service {
return &Service{db: db}
}