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

Rft: remove NilAsNullFunc #48

Merged
merged 1 commit into from
Oct 28, 2021
Merged

Rft: remove NilAsNullFunc #48

merged 1 commit into from
Oct 28, 2021

Conversation

flycash
Copy link
Contributor

@flycash flycash commented Oct 28, 2021

I think NilAsNullFunc is not a good abstraction. So I introduce two
concepts:

  1. zero value
  2. nil value

But zero value is not the same as reflect.IsZero because the zero value
in EQL doesn't contain nil value

I think `NilAsNullFunc` is not a good abstraction. So I introduce two
concepts:
1. zero value
2. nil value

But zero value is not the same as reflect.IsZero because the zero value
in EQL doesn't contain nil value
@codecov
Copy link

codecov bot commented Oct 28, 2021

Codecov Report

Merging #48 (c09c9ee) into main (665cf67) will increase coverage by 0.82%.
The diff coverage is 89.65%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #48      +/-   ##
==========================================
+ Coverage   79.61%   80.43%   +0.82%     
==========================================
  Files          14       14              
  Lines         721      695      -26     
==========================================
- Hits          574      559      -15     
+ Misses        129      117      -12     
- Partials       18       19       +1     
Impacted Files Coverage Δ
db.go 90.90% <ø> (+6.49%) ⬆️
update.go 88.98% <89.65%> (+3.98%) ⬆️

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 665cf67...c09c9ee. Read the comment docs.

@flycash flycash merged commit 5862fe6 into ecodeclub:main Oct 28, 2021
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