gphotosuploader / google-photos-api-client-go

Google Photos API client for your Go apps
https://pkg.go.dev/github.com/gphotosuploader/google-photos-api-client-go/v3
MIT License
41 stars 20 forks source link

Refactor including upload session store inside it #24

Closed pacoorozco closed 5 years ago

pacoorozco commented 5 years ago

Before that users should supply upload URL to be able to use resumable uploads. Now it's embeded inside the package. See documentation

codecov-io commented 5 years ago

Codecov Report

Merging #24 into master will increase coverage by 17.94%. The diff coverage is 42.51%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master      #24       +/-   ##
===========================================
+ Coverage   21.31%   39.26%   +17.94%     
===========================================
  Files           7       10        +3     
  Lines         258      326       +68     
===========================================
+ Hits           55      128       +73     
+ Misses        202      192       -10     
- Partials        1        6        +5
Impacted Files Coverage Δ
lib-gphotos/uploads.go 0% <0%> (ø) :arrow_up:
lib-gphotos/internal/uploader/upload.go 0% <0%> (ø)
lib-gphotos/internal/uploader/uploader.go 100% <100%> (ø)
lib-gphotos/internal/uploader/progress.go 91.66% <50%> (ø)
lib-gphotos/internal/uploader/requests.go 82.22% <82.22%> (ø)
lib-gphotos/client.go 94.59% <92.3%> (-5.41%) :arrow_down:

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 587597a...dbcce06. Read the comment docs.