Skip to content

Commit

Permalink
Update linter and protoc issues
Browse files Browse the repository at this point in the history
Signed-off-by: nyagamunene <[email protected]>
  • Loading branch information
nyagamunene committed Sep 24, 2024
1 parent df70c7a commit ff3036c
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions service.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,17 @@ const (
)

var (
serialNumberLimit = new(big.Int).Lsh(big.NewInt(1), 128)
errFailedReadingPrivateKey = errors.New("failed to read private key")
ErrNotFound = errors.New("entity not found")
ErrConflict = errors.New("entity already exists")
ErrCreateEntity = errors.New("failed to create entity")
ErrViewEntity = errors.New("view entity failed")
ErrGetToken = errors.New("failed to get token")
ErrUpdateEntity = errors.New("update entity failed")
ErrMalformedEntity = errors.New("malformed entity specification")
ErrRootCANotFound = errors.New("root CA not found")
ErrCertExpired = errors.New("certificate expired before renewal")
ErrCertRevoked = errors.New("certificate has been revoked and cannot be renewed")
serialNumberLimit = new(big.Int).Lsh(big.NewInt(1), 128)
ErrNotFound = errors.New("entity not found")
ErrConflict = errors.New("entity already exists")
ErrCreateEntity = errors.New("failed to create entity")
ErrViewEntity = errors.New("view entity failed")
ErrGetToken = errors.New("failed to get token")
ErrUpdateEntity = errors.New("update entity failed")
ErrMalformedEntity = errors.New("malformed entity specification")
ErrRootCANotFound = errors.New("root CA not found")
ErrCertExpired = errors.New("certificate expired before renewal")
ErrCertRevoked = errors.New("certificate has been revoked and cannot be renewed")
)

type service struct {
Expand Down

0 comments on commit ff3036c

Please sign in to comment.