mongodb

package
v0.0.0-...-a59a69c Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Storage

type Storage struct {
	*mgo.Database
}

func (*Storage) Create

func (s *Storage) Create(showtime *model.ShowTime) error

func (*Storage) Delete

func (s *Storage) Delete(id string) error

func (*Storage) GetAll

func (s *Storage) GetAll() []model.ShowTime

func (*Storage) GetByDate

func (s *Storage) GetByDate(date string) (showtime model.ShowTime, err error)

func (*Storage) Ping

func (s *Storage) Ping() error

Jump to

Keyboard shortcuts

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