db

package
v0.0.0-...-0967350 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2018 License: MIT Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Engine *xorm.Engine

Functions

func CheckErr

func CheckErr(err error)

err

func GetFilmByID

func GetFilmByID(ID string, db *bolt.DB) (error, *model2.Film)

func GetPeopleByID

func GetPeopleByID(ID string, db *bolt.DB) (error, *model2.People)

func GetPlanetByID

func GetPlanetByID(ID string, db *bolt.DB) (error, *model2.Planet)

func GetSpeciesByID

func GetSpeciesByID(ID string, db *bolt.DB) (error, *model2.Specie)

func GetStarshipByID

func GetStarshipByID(ID string, db *bolt.DB) (error, *model2.Starship)

func GetVehicleByID

func GetVehicleByID(ID string, db *bolt.DB) (error, *model2.Vehicle)

func MySQLGetFilmByID

func MySQLGetFilmByID(ID string) *model2.Film

func MySQLGetFilmBy_id

func MySQLGetFilmBy_id(_id string) *model2.Film

func MySQLGetPeopleByID

func MySQLGetPeopleByID(ID string) *model2.People

func MySQLGetPeopleBy_id

func MySQLGetPeopleBy_id(_id string) *model2.People

func MySQLGetPlanetByID

func MySQLGetPlanetByID(ID string) *model2.Planet

func MySQLGetPlanetBy_id

func MySQLGetPlanetBy_id(_id string) *model2.Planet

func MySQLGetSpecieByID

func MySQLGetSpecieByID(ID string) *model2.Specie

func MySQLGetSpecieBy_id

func MySQLGetSpecieBy_id(_id string) *model2.Specie

func MySQLGetStarshipByID

func MySQLGetStarshipByID(ID string) *model2.Starship

func MySQLGetStarshipBy_id

func MySQLGetStarshipBy_id(_id string) *model2.Starship

func MySQLGetVehicleByID

func MySQLGetVehicleByID(ID string) *model2.Vehicle

func MySQLGetVehicleBy_id

func MySQLGetVehicleBy_id(_id string) *model2.Vehicle

Types

This section is empty.

Jump to

Keyboard shortcuts

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