adlio / trello

Trello API wrapper for Go
MIT License
219 stars 71 forks source link

Add Starred on Board struct + force all fields retrieval from API on GetBoard #52

Closed glenux closed 4 years ago

glenux commented 4 years ago

This patch :

codecov-io commented 4 years ago

Codecov Report

Merging #52 into master will increase coverage by 0.02%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #52      +/-   ##
==========================================
+ Coverage   76.76%   76.79%   +0.02%     
==========================================
  Files          21       21              
  Lines         848      849       +1     
==========================================
+ Hits          651      652       +1     
  Misses        159      159              
  Partials       38       38
Impacted Files Coverage Δ
board.go 77.38% <100%> (+0.27%) :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 1a60ed5...c2f0b24. Read the comment docs.

adlio commented 4 years ago

The .Starred field on Board{} was added to master today and is included in v1.5.0. It should be populated if you call trello.GetBoard("boardID", trello.Arguments{"fields": "all"}).