MCPcopy Create free account
hub / github.com/sql-machine-learning/sqlflow / newZeroValue

Function newZeroValue

go/executor/fields.go:26–28  ·  view source on GitHub ↗
(t reflect.Type)

Source from the content-addressed store, hash-verified

24)
25
26func newZeroValue(t reflect.Type) interface{} {
27 return reflect.New(t).Interface()
28}
29
30func fieldValue(val interface{}) (interface{}, error) {
31 switch v := val.(type) {

Callers 1

parseRowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected