Documentation ¶
Index ¶
- type ServiceImpl
- func (s *ServiceImpl) Close() error
- func (s *ServiceImpl) DB(ctx context.Context) *gorm.DB
- func (s *ServiceImpl) Init(ctx context.Context) error
- func (s *ServiceImpl) Sis() services.Sis
- func (s *ServiceImpl) WithDsn(dsn string) *ServiceImpl
- func (s *ServiceImpl) WithSis(c services.Sis) services.Database
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceImpl ¶
type ServiceImpl struct {
// contains filtered or unexported fields
}
func New ¶
func New() *ServiceImpl
func (*ServiceImpl) Close ¶
func (s *ServiceImpl) Close() error
func (*ServiceImpl) Sis ¶
func (s *ServiceImpl) Sis() services.Sis
func (*ServiceImpl) WithDsn ¶
func (s *ServiceImpl) WithDsn(dsn string) *ServiceImpl
Click to show internal directories.
Click to hide internal directories.