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

This commit is contained in:
2025-08-12 13:53:32 +02:00
parent b4dcb26b45
commit b0c90c4cb3
3 changed files with 28 additions and 28 deletions

View File

@ -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")
)