parkservice

package
v0.0.0-...-d1a64ea Latest Latest
Warning

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

Go to latest
Published: May 22, 2016 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(park *dbmodels.Park) error

Create adds a new Park to the database

func Get

func Get(parkID bson.ObjectId) (*dbmodels.Park, error)

Get retrieves an Park from the database, based on its ID

func GetAll

func GetAll() ([]*dbmodels.Park, error)

GetAll retrieves an array of Park entities from the database

func Update

func Update(id bson.ObjectId, park *dbmodels.Park) error

Update adds a new Park to the database

Types

This section is empty.

Jump to

Keyboard shortcuts

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