mattn / go-mastodon

mastodon client for golang
MIT License
600 stars 85 forks source link

Add support to vote on polls. Add more fields to Poll #140

Closed RasmusLindroth closed 2 years ago

RasmusLindroth commented 2 years ago

Hi,

I've added two more functions to the API.

mattn commented 2 years ago

Thank you. I added GitHub Actions for CI. Could you please rebase master?

codecov-commenter commented 2 years ago

Codecov Report

Merging #140 (c0a2091) into master (8c434b5) will increase coverage by 0.38%. The diff coverage is 85.71%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #140      +/-   ##
==========================================
+ Coverage   77.66%   78.05%   +0.38%     
==========================================
  Files          29       30       +1     
  Lines        1330     1358      +28     
==========================================
+ Hits         1033     1060      +27     
+ Misses        205      204       -1     
- Partials       92       94       +2     
Impacted Files Coverage Δ
polls.go 83.33% <83.33%> (ø)
status.go 72.72% <86.66%> (+1.21%) :arrow_up:
streaming.go 97.40% <100.00%> (+0.03%) :arrow_up:
cmd/mstdn/main.go 66.80% <0.00%> (+1.20%) :arrow_up:

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 d39c10b...c0a2091. Read the comment docs.

RasmusLindroth commented 2 years ago

I'm no expert at git, but I think I managed to rebase it as you wanted me to :)

mattn commented 2 years ago

Perfect. Thank you!