aboutsummaryrefslogtreecommitdiff
path: root/pkg/service/user/user.go
blob: aa27eee4fed9570e6749566b99bb04b8c7288689 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
package user

import "github.com/uptrace/bun"

type Service struct {
	db *bun.DB
}

// NewService returns new Service.
func NewService(db *bun.DB) *Service {
	return &Service{db: db}
}