exp

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ao

type Ao struct {
	Base

	AM Model
	BM Model
}

Ao Ao

type Base

type Base struct {
	DB DB
}

Base Base

func (*Base) Begin

func (b *Base) Begin() error

Begin Begin

func (*Base) Init

func (b *Base) Init() error

Init Init

type DB

type DB interface {
	Get(id uint) (Data, error)
}

DB DB

type Data

type Data struct {
	ID   uint   `json:"id"`
	Name string `json:"name"`
}

Data Data

type Model

type Model struct {
	Base
}

Model Model

Jump to

Keyboard shortcuts

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