datastore

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 31, 2017 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func From

func From(db *sql.DB) store.Store

From returns a Store using an existing database connection.

func New

func New(driver, config string) store.Store

New creates a database connection for the given driver and datasource and returns a new Store.

func Open

func Open(driver, config string) *sql.DB

Open opens a new database connection with the specified driver and connection string and returns a store.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL