(typeID TypeId)
| 360 | } |
| 361 | |
| 362 | func isNumericEncodingTypeID(typeID TypeId) bool { |
| 363 | switch typeID { |
| 364 | case INT32, VARINT32, |
| 365 | UINT32, VAR_UINT32, |
| 366 | INT64, VARINT64, TAGGED_INT64, |
| 367 | UINT64, VAR_UINT64, TAGGED_UINT64: |
| 368 | return true |
| 369 | default: |
| 370 | return false |
| 371 | } |
| 372 | } |
| 373 | |
| 374 | func writeUnionDeclaredValue(ctx *WriteContext, info *unionCaseInfo, value reflect.Value) { |
| 375 | if !value.IsValid() { |
no outgoing calls
no test coverage detected