Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed panic when called Interface() for unexported field #14

Merged
merged 1 commit into from
Mar 23, 2022

Conversation

Code-Hex
Copy link
Owner

fixed

panic: reflect.Value.Interface: cannot return value obtained from unexported field or method [recovered]
        panic: reflect.Value.Interface: cannot return value obtained from unexported field or method

@codecov
Copy link

codecov bot commented Mar 22, 2022

Codecov Report

Merging #14 (21abd9d) into main (71f91d9) will increase coverage by 2.61%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #14      +/-   ##
==========================================
+ Coverage   91.76%   94.37%   +2.61%     
==========================================
  Files           7        7              
  Lines         583      587       +4     
==========================================
+ Hits          535      554      +19     
+ Misses         43       30      -13     
+ Partials        5        3       -2     
Impacted Files Coverage Δ
dumper.go 93.85% <100.00%> (+1.37%) ⬆️
reflect.go 100.00% <100.00%> (ø)
internal/sort/sort.go 86.66% <0.00%> (+4.00%) ⬆️
dumpfunc_118.go 100.00% <0.00%> (+100.00%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 71f91d9...21abd9d. Read the comment docs.

@Code-Hex Code-Hex merged commit 96dd279 into main Mar 23, 2022
@Code-Hex Code-Hex deleted the fix/package-unexported-field branch March 23, 2022 00:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant