meeting

package
v0.0.0-...-67d55fc Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2015 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CollectionName string = "meetings"

Functions

func Delete

func Delete(id string, dbConnection *bongo.Connection) error

Types

type Meeting

type Meeting struct {
	bongo.DocumentBase `bson:",inline"`
	Title              string
	Date               time.Time
	Attendees          string
	Agenda             string
	Outcome            string
}

func GetAll

func GetAll(dbConnection *bongo.Connection) []Meeting

func GetOne

func GetOne(id string, dbConnection *bongo.Connection) (*Meeting, error)

func (*Meeting) Validate

func (m *Meeting) Validate(r *http.Request) map[string]string

Jump to

Keyboard shortcuts

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