goharbor / go-client

Client library with golang for accessing Harbor API.
Apache License 2.0
39 stars 18 forks source link

Refactor the client to add default basepath, host and so on #5

Closed lubronzhan closed 2 years ago

lubronzhan commented 2 years ago

Fix https://github.com/goharbor/go-client/issues/4

  1. Add default Host, Base path, Scheme, Transport if not set.
  2. Add basic unit test for client