models

package
v0.0.0-...-4836346 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2018 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const WorldRowCount = 10000
View Source
const WorldSelect = "SELECT id, randomNumber FROM World WHERE id = ?"
View Source
const WorldUpdate = "UPDATE World SET randomNumber = ? WHERE id = ?"

Variables

This section is empty.

Functions

func GetQueriesWorld

func GetQueriesWorld(queries int) *[]World

Types

type World

type World struct {
	Id           uint16 `orm:"pk" json:"id"`
	RandomNumber uint16 `orm:"column(randomNumber)" json:"randomNumber"`
}

Jump to

Keyboard shortcuts

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