Back to godoc.org

Package db

v0.0.0-...-58a50a7
Latest Go to latest

The latest major version is .

Published: Sep 29, 2019 | License: MIT | Module: github.com/aureleoules/epitaf

Index

Constants

const (
	UsersCollection  string = "users"
	EventsCollection string = "events"
)

Variables

var Epitaf *mgo.Database

Epitaf : Database holder

func Connect

func Connect(uri string)

Connect : Connect to MongoDB

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier