code: func NewDatum(in interface{}) (d Datum) {
  	switch x := in.(type) {
  	case []interface{}:
  		d.SetValue(MakeDatums(x...))
  	default:
  		d.SetValue(in)
  	}
  	return d
  }
docs: // NewDatum creates a new Datum from an interface{}.