SaveStruct returns the fields from src as a slice of Field. src must be a struct pointer.
(src interface{})
| 246 | // SaveStruct returns the fields from src as a slice of Field. |
| 247 | // src must be a struct pointer. |
| 248 | func SaveStruct(src interface{}) ([]Field, error) { |
| 249 | f, _, err := saveStructWithMeta(src) |
| 250 | return f, err |
| 251 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…