Documentation
¶
Overview ¶
Package storage loads the configuration file with only storage information.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetIdsFromResult ¶
GetIdsFromResult will build a []int from sql.Result
func ParseDateLayout ¶
func ParseDateLayout() string
Types ¶
type Connection ¶
type Connection interface {
Exec(query string, args ...interface{}) (sql.Result, error)
Get(dest interface{}, query string, args ...interface{}) error
Select(dest interface{}, query string, args ...interface{}) error
}
Connection is an interface for making queries.
type Info ¶
Info contains the database connection information for the different storage.
func LoadConfig ¶
LoadConfig reads the configuration file.
Click to show internal directories.
Click to hide internal directories.