(f reflect.StructField)
| 239 | } |
| 240 | |
| 241 | func multiPartFileSchema(f reflect.StructField) *Schema { |
| 242 | return &Schema{ |
| 243 | Type: "string", |
| 244 | Format: "binary", |
| 245 | Description: f.Tag.Get("doc"), |
| 246 | ContentEncoding: "binary", |
| 247 | } |
| 248 | } |
| 249 | |
| 250 | func multiPartContentEncoding(t reflect.Type) map[string]*Encoding { |
| 251 | nFields := t.NumField() |
no test coverage detected
searching dependent graphs…