add users

This commit is contained in:
u80864958
2025-04-30 16:41:30 +02:00
parent f4adfb6a62
commit eed1718a7e
17 changed files with 538 additions and 60 deletions

View File

@ -0,0 +1,19 @@
package users
import (
"gorm.io/gorm"
)
type Service struct {
db *gorm.DB
}
func New(db *gorm.DB) *Service {
return &Service{
db: db,
}
}
type Password struct {
Password string `json:"password"`
}