datastore

package
v0.0.0-...-a20a788 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2015 License: GPL-3.0 Imports: 8 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DB = &modl.DbMap{Dialect: modl.PostgresDialect{}}

Functions

func Connect

func Connect()

func Create

func Create()

Create the database schema. It calls log.Fal if it encounters an error.

func Drop

func Drop()

Drop the database schema.

Types

type Datastore

type Datastore struct {
	Projects orbit.ProjectsService
	Services orbit.ServicesService
	// contains filtered or unexported fields
}

func NewDatastore

func NewDatastore(dbh modl.SqlExecutor) *Datastore

Jump to

Keyboard shortcuts

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