You've already forked docker-hub-description-updater
fix(lint): be compliant with golangci-lint
All checks were successful
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Successful in 20s
Lint Markdown files / Run markdown linter (push) Successful in 3s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Successful in 35s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Successful in 1m3s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Successful in 19s
All checks were successful
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Successful in 20s
Lint Markdown files / Run markdown linter (push) Successful in 3s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Successful in 35s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Successful in 1m3s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Successful in 19s
This commit is contained in:
@ -3,11 +3,11 @@ package hub
|
||||
import "errors"
|
||||
|
||||
var (
|
||||
errorFailedToCreateRequest = errors.New("failed to create http request")
|
||||
errorFailedToParseJSON = errors.New("failed to parse json")
|
||||
errorFailedToParseURL = errors.New("failed to parse url")
|
||||
errorFailedToSendRequest = errors.New("failed to send http request")
|
||||
errorNoNamespaceDefined = errors.New("no Namespace defined")
|
||||
errorNoRepositoryDefined = errors.New("no Repository defined")
|
||||
errorUnexpectedHTTPStatuscode = errors.New("unexpected HTTP-Statuscode")
|
||||
errFailedToCreateRequest = errors.New("failed to create http request")
|
||||
errFailedToParseJSON = errors.New("failed to parse json")
|
||||
errFailedToParseURL = errors.New("failed to parse url")
|
||||
errFailedToSendRequest = errors.New("failed to send http request")
|
||||
errNoNamespaceDefined = errors.New("no Namespace defined")
|
||||
errNoRepositoryDefined = errors.New("no Repository defined")
|
||||
errUnexpectedHTTPStatuscode = errors.New("unexpected HTTP-Statuscode")
|
||||
)
|
||||
|
Reference in New Issue
Block a user