wtg / shuttletracker

🚐 Shuttle tracking for RPI.
https://shuttles.rpi.edu
GNU Affero General Public License v3.0
46 stars 53 forks source link

Eta refactored #264

Closed seandheffernan closed 5 years ago

seandheffernan commented 5 years ago

Adds the /eta API endpoint which details the ETAs of each bus currently running.

codecov[bot] commented 5 years ago

Codecov Report

Merging #264 into master will increase coverage by 0.12%. The diff coverage is 37.5%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #264      +/-   ##
==========================================
+ Coverage   37.33%   37.45%   +0.12%     
==========================================
  Files          17       17              
  Lines        1551     1559       +8     
==========================================
+ Hits          579      584       +5     
- Misses        907      911       +4     
+ Partials       65       64       -1
Impacted Files Coverage Δ
api/routes.go 0% <0%> (ø) :arrow_up:
api/api.go 80.55% <100%> (+0.55%) :arrow_up:
postgres/location.go 65.33% <0%> (+1.33%) :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 6e3c131...959c65f. Read the comment docs.

quuu commented 5 years ago

Thoughts? @evanlazaro

evanlazaro commented 5 years ago

Looks good!