Documentation ¶
Overview ¶
Package util provides various utilities.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FPrintlnErr ¶
func FPrintlnErr(a ...interface{})
FPrintlnErr wraps fmt.Fprintln and use os.Stderr as output stream.
func FindFeatureID ¶
FindFeatureID returns a feature ID, given its name.
func OpenDBSession ¶
func OpenDBSession(cfg config.DatabaseConfig) (*sql.DB, error)
OpenDBSession creates a session to the database.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.