(type_ reflect.Type)
| 105 | } |
| 106 | |
| 107 | func getListDispatchId(type_ reflect.Type) DispatchId { |
| 108 | if type_.Kind() == reflect.Slice && type_.Elem().Kind() == reflect.String { |
| 109 | return StringSliceDispatchId |
| 110 | } |
| 111 | return UnknownDispatchId |
| 112 | } |
| 113 | |
| 114 | // initFields initializes fields from local struct type using TypeResolver |
| 115 | func (s *structSerializer) initFields(typeResolver *TypeResolver) error { |
no test coverage detected