Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DB *sqlx.DB
Functions ¶
func CreateTables ¶
func CreateTables()
Types ¶
type SQLite3ServicesStorage ¶
type SQLite3ServicesStorage struct{}
func (*SQLite3ServicesStorage) ExistsByName ¶
func (*SQLite3ServicesStorage) FindAll ¶
func (storage *SQLite3ServicesStorage) FindAll(ctx context.Context) (entities.ServiceList, error)
type ServiceModel ¶
func NewFromService ¶
func NewFromService(service entities.Service) *ServiceModel
Click to show internal directories.
Click to hide internal directories.