mmodel

package
v0.0.0-...-670bf6b Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2017 License: Apache-2.0, Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddModelUuid

func AddModelUuid(model interface{}) interface{}

AddUuid

func GetModelId

func GetModelId(model interface{}) string

GetModelId

func GetModelTableName

func GetModelTableName(model interface{}) (result string)

GetModelTableName Model Should has TableName() method. If TableName() function not present, cast model name to table name.

func PrintModel

func PrintModel(model interface{})

func PrintModelWithLabel

func PrintModelWithLabel(model interface{}, locale string)

PrintModelWithLabel

Types

This section is empty.

Directories

Path Synopsis
demo

Jump to

Keyboard shortcuts

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