Documentation
¶
Overview ¶
Package initializer initializes warnly for the first time.
Index ¶
Constants ¶
View Source
const (
// DefaultTeamName is the default team name of the first team created.
DefaultTeamName = "default"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InitService ¶
type InitService struct {
// contains filtered or unexported fields
}
InitService is a service for initializing (seeding) the database with initial data.
func NewInitService ¶
func NewInitService( userStore warnly.UserStore, teamStore warnly.TeamStore, startUow uow.StartUnitOfWork, now func() time.Time, ) *InitService
NewInitService creates a new InitService instance.
Click to show internal directories.
Click to hide internal directories.