example

package
v0.0.0-...-a56dbdc Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareByField_F_Score_T_model__User

func CompareByField_F_Score_T_model__User(val1 model.User, val2 model.User) int

func CompareByItself_T_float64

func CompareByItself_T_float64(val1 float64, val2 float64) int

func CompareByItself_T_int

func CompareByItself_T_int(val1 int, val2 int) int

func CompareSimpleValue_T_float64

func CompareSimpleValue_T_float64(val1 float64, val2 float64) int

func CompareSimpleValue_T_int

func CompareSimpleValue_T_int(val1 int, val2 int) int

func CopyAnythingForPlz_CT_gXD56NMK6FVXA26GM25XVH4ZILKLIKTKL_DT_ptr_int_ST_int

func CopyAnythingForPlz_CT_gXD56NMK6FVXA26GM25XVH4ZILKLIKTKL_DT_ptr_int_ST_int(theCopyDynamically func(interface{}, interface{}) error, dst interface{}, src interface{}) error

func CopyAnythingForPlz_CT_gXD56NMK6FVXA26GM25XVH4ZILKLIKTKL_DT_ptr_model__UserInfo_ST_model__User2

func CopyAnythingForPlz_CT_gXD56NMK6FVXA26GM25XVH4ZILKLIKTKL_DT_ptr_model__UserInfo_ST_model__User2(theCopyDynamically func(interface{}, interface{}) error, dst interface{}, src interface{}) error

func CopyAnythingForPlz_CT_gXD56NMK6FVXA26GM25XVH4ZILKLIKTKL_DT_ptr_string_ST_string

func CopyAnythingForPlz_CT_gXD56NMK6FVXA26GM25XVH4ZILKLIKTKL_DT_ptr_string_ST_string(theCopyDynamically func(interface{}, interface{}) error, dst interface{}, src interface{}) error

func CopyAnything_DT_map_string_to_gQPAJHSWGPSUIJTIJRIBX4GE44DBOXJ5R_ST_model__UserProperties

func CopyAnything_DT_map_string_to_gQPAJHSWGPSUIJTIJRIBX4GE44DBOXJ5R_ST_model__UserProperties(err *error, dst map[string]interface{}, src model.UserProperties)

func CopyAnything_DT_map_string_to_gQPAJHSWGPSUIJTIJRIBX4GE44DBOXJ5R_ST_ptr_model__UserProperties

func CopyAnything_DT_map_string_to_gQPAJHSWGPSUIJTIJRIBX4GE44DBOXJ5R_ST_ptr_model__UserProperties(err *error, dst map[string]interface{}, src *model.UserProperties)

func CopyAnything_DT_ptr_gQPAJHSWGPSUIJTIJRIBX4GE44DBOXJ5R_ST_int

func CopyAnything_DT_ptr_gQPAJHSWGPSUIJTIJRIBX4GE44DBOXJ5R_ST_int(err *error, dst *interface{}, src int)

func CopyAnything_DT_ptr_gQPAJHSWGPSUIJTIJRIBX4GE44DBOXJ5R_ST_string

func CopyAnything_DT_ptr_gQPAJHSWGPSUIJTIJRIBX4GE44DBOXJ5R_ST_string(err *error, dst *interface{}, src string)

func CopyAnything_DT_ptr_int_ST_int

func CopyAnything_DT_ptr_int_ST_int(err *error, dst *int, src int)

func CopyAnything_DT_ptr_map_string_to_gQPAJHSWGPSUIJTIJRIBX4GE44DBOXJ5R_ST_ptr_model__UserProperties

func CopyAnything_DT_ptr_map_string_to_gQPAJHSWGPSUIJTIJRIBX4GE44DBOXJ5R_ST_ptr_model__UserProperties(err *error, dst *map[string]interface{}, src *model.UserProperties)

func CopyAnything_DT_ptr_model__UserInfo_ST_model__User2

func CopyAnything_DT_ptr_model__UserInfo_ST_model__User2(err *error, dst *model.UserInfo, src model.User2)

func CopyAnything_DT_ptr_ptr_string_ST_string

func CopyAnything_DT_ptr_ptr_string_ST_string(err *error, dst **string, src string)

func CopyAnything_DT_ptr_slice_int_ST_slice_int

func CopyAnything_DT_ptr_slice_int_ST_slice_int(err *error, dst *[]int, src []int)

func CopyAnything_DT_ptr_string_ST_string

func CopyAnything_DT_ptr_string_ST_string(err *error, dst *string, src string)

func CopyFromPtr_DT_map_string_to_gQPAJHSWGPSUIJTIJRIBX4GE44DBOXJ5R_ST_ptr_model__UserProperties

func CopyFromPtr_DT_map_string_to_gQPAJHSWGPSUIJTIJRIBX4GE44DBOXJ5R_ST_ptr_model__UserProperties(err *error, dst map[string]interface{}, src *model.UserProperties)

func CopyIntoInterface_DT_ptr_gQPAJHSWGPSUIJTIJRIBX4GE44DBOXJ5R_ST_int

func CopyIntoInterface_DT_ptr_gQPAJHSWGPSUIJTIJRIBX4GE44DBOXJ5R_ST_int(err *error, dst *interface{}, src int)

func CopyIntoInterface_DT_ptr_gQPAJHSWGPSUIJTIJRIBX4GE44DBOXJ5R_ST_string

func CopyIntoInterface_DT_ptr_gQPAJHSWGPSUIJTIJRIBX4GE44DBOXJ5R_ST_string(err *error, dst *interface{}, src string)

func CopyIntoPtr_DT_ptr_map_string_to_gQPAJHSWGPSUIJTIJRIBX4GE44DBOXJ5R_ST_ptr_model__UserProperties

func CopyIntoPtr_DT_ptr_map_string_to_gQPAJHSWGPSUIJTIJRIBX4GE44DBOXJ5R_ST_ptr_model__UserProperties(err *error, dst *map[string]interface{}, src *model.UserProperties)

func CopyIntoPtr_DT_ptr_ptr_string_ST_string

func CopyIntoPtr_DT_ptr_ptr_string_ST_string(err *error, dst **string, src string)

func CopySimpleValue_DT_ptr_int_ST_int

func CopySimpleValue_DT_ptr_int_ST_int(err *error, dst *int, src int)

func CopySimpleValue_DT_ptr_string_ST_string

func CopySimpleValue_DT_ptr_string_ST_string(err *error, dst *string, src string)

func CopySliceToSlice_DT_ptr_slice_int_ST_slice_int

func CopySliceToSlice_DT_ptr_slice_int_ST_slice_int(err *error, dst *[]int, src []int)

func CopyStructToMap_DT_map_string_to_gQPAJHSWGPSUIJTIJRIBX4GE44DBOXJ5R_ST_model__UserProperties

func CopyStructToMap_DT_map_string_to_gQPAJHSWGPSUIJTIJRIBX4GE44DBOXJ5R_ST_model__UserProperties(err *error, dst map[string]interface{}, src model.UserProperties)

func CopyStructToStruct_DT_ptr_model__UserInfo_ST_model__User2

func CopyStructToStruct_DT_ptr_model__UserInfo_ST_model__User2(err *error, dst *model.UserInfo, src model.User2)

func Demo_copy

func Demo_copy(t *testing.T)

func Demo_max_min

func Demo_max_min(t *testing.T)

func Demo_pair

func Demo_pair(t *testing.T)

func MaxByFieldForPlz_F_Score_T_model__User

func MaxByFieldForPlz_F_Score_T_model__User(vals []interface{}) interface{}

func MaxByItselfForPlz_T_float64

func MaxByItselfForPlz_T_float64(vals []interface{}) interface{}

func MaxByItselfForPlz_T_int

func MaxByItselfForPlz_T_int(vals []interface{}) interface{}

func New_Pair_I_model__IntStringPair

func New_Pair_I_model__IntStringPair() interface{}

Types

type Pair_I_model__IntStringPair

type Pair_I_model__IntStringPair struct {
	// contains filtered or unexported fields
}

func (*Pair_I_model__IntStringPair) First

func (pair *Pair_I_model__IntStringPair) First() int

func (*Pair_I_model__IntStringPair) Second

func (pair *Pair_I_model__IntStringPair) Second() string

func (*Pair_I_model__IntStringPair) SetFirst

func (pair *Pair_I_model__IntStringPair) SetFirst(val int)

func (*Pair_I_model__IntStringPair) SetSecond

func (pair *Pair_I_model__IntStringPair) SetSecond(val string)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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