Documentation ¶
Index ¶
- func DbToModel(connRow pgx.Row, model interface{})
- func DirExists(dirName string) bool
- func Exists(fileName string) bool
- func FileExists(fileName string) bool
- func GetAppDir() (string, error)
- func GetConfigFolder() (string, error)
- func GetMigrationsFolder() (string, error)
- func InSliceString(key string, list []string) bool
- func MapSlice(dest ...interface{}) []interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DbToModel ¶
func DbToModel(connRow pgx.Row, model interface{})
DbToModel maps the database query to struct fields
func FileExists ¶
FileExists this checks if the files exists and is a file
func GetConfigFolder ¶
GetConfigFolder returns the config folder for the project
func GetMigrationsFolder ¶
GetMigrationsFolder returns the migration folder in the project
func InSliceString ¶
InSliceString return true or false if the string exists in the array
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.