dyweb / go.ice

A server application toolkit with profiling in mind
MIT License
6 stars 2 forks source link

Init httpclient and dockerclient #39

Closed at15 closed 5 years ago

at15 commented 5 years ago

This PR should implement the basic functionality for #37 , auto encoding/decoding, error handling based on status code etc.

Basic

Advanced (optional)

Docker client

The command is now called dk ...

codecov-io commented 5 years ago

Codecov Report

Merging #39 into master will increase coverage by 12.37%. The diff coverage is 49.06%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #39       +/-   ##
==========================================
+ Coverage   32.82%   45.2%   +12.37%     
==========================================
  Files          12       6        -6     
  Lines         131     250      +119     
==========================================
+ Hits           43     113       +70     
- Misses         85     110       +25     
- Partials        3      27       +24
Impacted Files Coverage Δ
httpclient/method.go 100% <100%> (ø)
httpclient/option.go 30.43% <30.43%> (ø)
httpclient/util.go 35.29% <35.29%> (ø)
httpclient/client.go 35.59% <38.53%> (ø)
httpclient/context.go 35.55% <44.44%> (ø)
httpclient/error.go 78.26% <78.26%> (ø)
ice/db/adapters/sqlite/gommon_generated.go
ice/db/adapters/postgres/gommon_generated.go
ice/db/adapters/postgres/adapter.go
ice/db/adapters/postgres/pkg.go
... and 14 more

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 8737e29...9466d26. Read the comment docs.