featscomp: github.com/DevMine/featscomp/util Index | Files

package util

import "github.com/DevMine/featscomp/util"

Package util provides various utilities.

Index

Package Files

utils.go

func FPrintlnErr Uses

func FPrintlnErr(a ...interface{})

FPrintlnErr wraps fmt.Fprintln and use os.Stderr as output stream.

func FindFeatureID Uses

func FindFeatureID(db *sql.DB, featureName string) (int64, error)

FindFeatureID returns a feature ID, given its name.

func OpenDBSession Uses

func OpenDBSession(cfg config.DatabaseConfig) (*sql.DB, error)

OpenDBSession creates a session to the database.

Package util imports 4 packages (graph) and is imported by 2 packages. Updated 2016-07-17. Refresh now. Tools for package owners.