gitlab.com/evatix-go/core@v1.3.55/coredata/coredynamic/PointerOrNonPointer.go (about) 1 package coredynamic 2 3 import "reflect" 4 5 func PointerOrNonPointer( 6 isPointerOutput bool, 7 input interface{}, 8 ) (output interface{}, finalReflectVal reflect.Value) { 9 return PointerOrNonPointerUsingReflectValue( 10 isPointerOutput, 11 reflect.ValueOf(input)) 12 }