services

package
v0.0.0-...-155dcbe Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Prototypes

type Prototypes struct {
	DB *gorm.DB
}

Prototypes ...

func (Prototypes) GetPrototype

func (s Prototypes) GetPrototype(id int) types.Prototype

GetPrototype returns prototype with provided ID

func (Prototypes) GetPrototypes

func (s Prototypes) GetPrototypes() []types.Prototype

GetPrototypes returns all prototypes

type Units

type Units struct {
	DB *gorm.DB
}

Units ...

func (Units) GetUnit

func (s Units) GetUnit(id int) types.Unit

GetUnit returns unit with provided ID

func (Units) GetUnits

func (s Units) GetUnits() []types.Unit

GetUnits returns all units

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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