statemodel

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2019 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Code generated by go generate forge model v0.2.0. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(database db.Database) state.State

New returns a state service backed by a database

Types

type Model

type Model struct {
	Orgname      string `model:"orgname,VARCHAR(255) NOT NULL" query:"orgname"`
	Setup        bool   `model:"setup,BOOLEAN NOT NULL" query:"setup"`
	CreationTime int64  `model:"creation_time,BIGINT NOT NULL" query:"creation_time"`
	// contains filtered or unexported fields
}

Model is the db State model

Jump to

Keyboard shortcuts

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