Files
ng-blog/backend/internal/users/resource.go
u80864958 eed1718a7e add users
2025-04-30 16:41:30 +02:00

20 lines
208 B
Go

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"`
}