Thanks to visit codestin.com
Credit goes to github.com

Skip to content

V2 - refactoring #88

@inhere

Description

@inhere

old:

// Gt check value greater dst value. only check for: int(X), uint(X), float(X)
func Gt(val interface{}, dstVal int64) bool {

v2 new:

// Gt check value greater dst value. only check for: int(X), uint(X), float(X)
func Gt(val, dstVal interface{}) bool {
	return gt(reflect.ValueOf(val), reflect.ValueOf(dstVal))
}

// internal implements
func gt(val reflect.Value, dstVal reflect.Value) bool

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesthelp wantedExtra attention is needed

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions