Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Services ¶
func NewServices ¶
func NewServices(cfgs ...ServicesConfig) (*Services, error)
func (*Services) CloseStorage ¶
func (s *Services) CloseStorage()
type ServicesConfig ¶
func WithGorm ¶
func WithGorm(dialect, connectionInfo string) ServicesConfig
func WithLogMode ¶
func WithLogMode(mode bool) ServicesConfig
func WithSetSchema ¶
func WithSetSchema(mode bool) ServicesConfig
Click to show internal directories.
Click to hide internal directories.