testdb

package
v0.0.0-...-2be0f72 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Sessions db.SessionCreater = &sessionCreater{}

Functions

func RSession

func RSession() (*r.Session, error)

RSessionErr always returns a nil err. It will panic if it cannot get a db session. This function is meant to be used with the databaseSessionFilter for unit testing.

func RSessionMust

func RSessionMust() *r.Session

Types

This section is empty.

Jump to

Keyboard shortcuts

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