Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataService ¶
DataService is a struct
func (*DataService) Connect ¶
func (db *DataService) Connect() (*DataService, error)
Connect is a method
type DataServiceRepository ¶
type DataServiceRepository interface {
Connect() (*DataService, error)
}
DataServiceRepository represents the contract
func NewDataService ¶
func NewDataService(config config.DB) DataServiceRepository
NewDataService is a constructor
Click to show internal directories.
Click to hide internal directories.