pipe

package module
v0.0.0-...-ed6e8e0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

README

pipe

golang pipe tool

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Assert

func Assert(b bool, text string, args ...interface{})

func AssertErr

func AssertErr(err error, format string, args ...interface{})

func Data

func Data(ps ...interface{}) *_func

func DataArray

func DataArray(ps interface{}) *_func

func DataFromArray

func DataFromArray(ps interface{}) *_func

func DataRange

func DataRange(s, e, t int) *_func

func Fn

func Fn(f interface{}, params ...interface{}) func() interface{}

func If

func If(b bool, trueVal, falseVal interface{}) interface{}

func Insert

func Insert(model Model) string

func InterfaceOf

func InterfaceOf(ps ...interface{}) []interface{}

func IsError

func IsError(p interface{}) bool

func IsPtr

func IsPtr(p interface{}) bool

func NowFormat

func NowFormat() string

func P

func P(d ...interface{})

func SortBy

func SortBy(data interface{}, swap interface{}) interface{}

func Sql

func Sql(format string, a ...interface{}) *_func

func SqlD

func SqlD(d interface{}) string

func ToInt

func ToInt(p string) int

func TodayTimestamp

func TodayTimestamp() uint64

func Try

func Try(fn interface{}) *_try

func Type

func Type(p interface{}) reflect.Kind

Types

type Model

type Model interface {
	Name() string
}

Jump to

Keyboard shortcuts

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