| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| fk := f.Type.Kind() | ||
|
|
||
| // Dereference pointers to get to the underlying type. | ||
| for fk == reflect.Ptr { |
There was a problem hiding this comment.
Lets use our deref package.
Sorry, something went wrong.
…dedInterfaces Replace hand-rolled pointer/interface unwrap loops with deref.Value and deref.Type, consistent with how Fetch already dereferences values. Add white-box unit tests covering each branch (100% coverage of the function): plain struct, embedded interface with/without field, pointer to struct concrete value, nil concrete value, nil embedded pointer, nested embedded struct, nested embedded interface, non-struct concrete value, expr:"-" tag, and empty concrete struct.
|
@antonmedv hello, I appologize for late response. Yours comments have been addressed. |
Sorry, something went wrong.
|
Looks like something with tests. |
Sorry, something went wrong.
|
@antonmedv hello Looks like GA jobs are stuck, could you please assist a little bit? |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Issue
#951