testfiles

package
v0.0.0-...-06d4f2c Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2016 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ItemA ItemValue = "A"
	ItemB           = "B"
	ItemC           = "C"
)
View Source
const StringVal = "string"

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	Id     string `json:"id"`
	Title  string `json:"title"`
	Url    string `json:"url,omitempty"`
	Hours  int
	Config json.RawMessage `json:"config"`
	Extend interface{}     `json:"exten"`
	Blob   []byte          `json:"blob"`
}

type Column

type Column struct {
	Name string `json:"name"`
	Type string `json:"type"`
}

Represents each column in the table

type ItemValue

type ItemValue string

type OtherValue

type OtherValue string
const OtherItem OtherValue = "Other"

type Table

type Table struct {
	Id      int       `json:"-" something:"else"`
	Name    string    `json:"name"`
	Columns []Column  `random:"tag" json:"columns,omitempty"`
	Created time.Time `json:"created"`
}

Create a table for each database entity

Jump to

Keyboard shortcuts

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