dummydata

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package dummydata provides convenience data to test the backend

Index

Constants

View Source
const (
	// MongoDBUrl is the default mongodb url that will be used to connect to the
	// database.
	MongoDBUrl = "mongodb://localhost:27017/test_store"
)

Variables

View Source
var (
	// MgoSession stores mongo session
	MgoSession *mgo.Session

	// Mongo stores the mongodb connection string information
	Mongo *mgo.DialInfo
)
View Source
var TestPost1 = `` /* 202-byte string literal not displayed */

TestPost1 is a simple post.

View Source
var TestPost2 = `` /* 219-byte string literal not displayed */

TestPost2 should be inserted correcty.

View Source
var TestPost3 = `` /* 225-byte string literal not displayed */

TestPost3 should not be inserted path is sams as post1's.

View Source
var TestUser1 = `` /* 232-byte string literal not displayed */

TestUser1 is a simple user.

View Source
var TestUser2 = `` /* 233-byte string literal not displayed */

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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