db

package
Version: v0.0.0-...-d1ce119 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2015 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mongo

type Mongo struct {
	URL            string
	Database       string
	CollectionName string
}

Mongo contains the mongo connection info

func (*Mongo) Collection

func (db *Mongo) Collection() (*mgo.Collection, error)

Collection returns the goreportcard mongo collection

Source Files

Jump to

Keyboard shortcuts

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