(t reflect.Type)
| 344 | } |
| 345 | |
| 346 | func isStructOrStructPointer(t reflect.Type) bool { |
| 347 | return t.Kind() == reflect.Struct || (t.Kind() == reflect.Pointer && t.Elem().Kind() == reflect.Struct) |
| 348 | } |
| 349 | |
| 350 | // typeToTableHeaders converts a type to a slice of column names. If the given |
| 351 | // type is invalid (not a struct or a pointer to a struct, has invalid table |
no outgoing calls
no test coverage detected