structFilter

package
v0.0.0-...-7d843e4 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2015 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncodeStructCustom

func EncodeStructCustom(rows *sqlx.Rows, w http.ResponseWriter)

func GetFieldTypes

func GetFieldTypes(fields []string) []string

func MakeStructCustom

func MakeStructCustom(tableName string, fields []string)

func MapCustomTableToJson

func MapCustomTableToJson(tableName string, rows *sqlx.Rows, w http.ResponseWriter, fields []string)

Types

type Custom

type Custom struct {
	Id         int64 `json:"id"`
	Cachegroup int32 `json:"cachegroup"`
}

Jump to

Keyboard shortcuts

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