formats

package
v1.5.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Formats = map[string]Formater{}

Formats .

Functions

func Format

func Format(name string, q tsql.Query, rs *tsql.ResultSet, params map[string]interface{}) (interface{}, error)

Format .

func RegisterFormater

func RegisterFormater(name string, formater Formater)

RegisterFormater .

Types

type Formater

type Formater interface {
	Format(q tsql.Query, rs *tsql.ResultSet, params map[string]interface{}) (interface{}, error)
}

Formater response formater

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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