incomes

package
v0.0.0-...-3e31bc8 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Attach

func Attach(r *mux.Router)

Types

type Income

type Income struct {
	ID     bson.ObjectId `json:"id" bson:"_id,omitempty"`
	Name   string        `json:"name"`
	Amount string        `json:"amount"`
}

func (*Income) GetId

func (i *Income) GetId() bson.ObjectId

func (Income) ModelName

func (i Income) ModelName() string

func (*Income) SetId

func (i *Income) SetId(id bson.ObjectId)

type Incomes

type Incomes []Income

func (Incomes) ModelName

func (i Incomes) ModelName() string

Jump to

Keyboard shortcuts

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