InnerValue defines methods that need to be supported by all non-null value types.
| 212 | |
| 213 | // InnerValue defines methods that need to be supported by all non-null value types. |
| 214 | type InnerValue interface { |
| 215 | raw() []byte |
| 216 | encodeSql(BinWriter) |
| 217 | encodeAscii(BinWriter) |
| 218 | } |
| 219 | |
| 220 | func BuildValue(goval interface{}) (v Value, err error) { |
| 221 | switch bindVal := goval.(type) { |
no outgoing calls
no test coverage detected