Utils

package
v1.4.9 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCtorFuncName added in v1.4.7

func GetCtorFuncName(ctorFunc interface{}) string

GetCtorFuncName

func LowercaseFirst added in v1.4.7

func LowercaseFirst(str string) string

func MergeMap

func MergeMap(source map[string][]string, tagret map[string][]string)

func PadLeft added in v1.4.6

func PadLeft(s string, pad string, plength int) string

func UppercaseFirst added in v1.4.7

func UppercaseFirst(str string) string

Types

type MethodCaller added in v1.4.0

type MethodCaller struct {
	Object     interface{}
	MethodName string
	// contains filtered or unexported fields
}

func NewMethodCaller added in v1.4.0

func NewMethodCaller(obj interface{}, funcName string) *MethodCaller

func (*MethodCaller) GetParamTypes added in v1.4.0

func (method *MethodCaller) GetParamTypes() []reflect.Type

func (*MethodCaller) Invoke added in v1.4.0

func (method *MethodCaller) Invoke(params ...interface{}) []interface{}

Jump to

Keyboard shortcuts

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