feat: provide common encrypt, decrypt, config services along with config #364
Annotations
8 errors
golangci-lint:
pkg/security/storage.go#L9
[golangci] reported by reviewdog 🐶
Comment should end in a period (godot)
Raw Output:
pkg/security/storage.go:9:95: Comment should end in a period (godot)
// NewStorage function to create a new Storage instance with a keyring interface (for testing)
^
|
golangci-lint:
pkg/security/storage.go#L24
[golangci] reported by reviewdog 🐶
Comment should end in a period (godot)
Raw Output:
pkg/security/storage.go:24:61: Comment should end in a period (godot)
// SetKeyValue method to set a key-value pair in the keyring
^
|
golangci-lint:
pkg/security/storage.go#L33
[golangci] reported by reviewdog 🐶
Comment should end in a period (godot)
Raw Output:
pkg/security/storage.go:33:61: Comment should end in a period (godot)
// GetKeyValue method to get a value from the keyring by key
^
|
golangci-lint:
pkg/security/types.go#L35
[golangci] reported by reviewdog 🐶
File is not `gofumpt`-ed with `-extra` (gofumpt)
Raw Output:
pkg/security/types.go:35: File is not `gofumpt`-ed with `-extra` (gofumpt)
type RealKeyring struct {
}
|
golangci-lint:
pkg/security/storage.go#L30
[golangci] reported by reviewdog 🐶
return with no blank line before (nlreturn)
Raw Output:
pkg/security/storage.go:30:2: return with no blank line before (nlreturn)
return err
^
|
golangci-lint:
pkg/security/storage.go#L36
[golangci] reported by reviewdog 🐶
return with no blank line before (nlreturn)
Raw Output:
pkg/security/storage.go:36:2: return with no blank line before (nlreturn)
return string(data.Data), err
^
|
golangci-lint:
pkg/security/storage.go#L47
[golangci] reported by reviewdog 🐶
return with no blank line before (nlreturn)
Raw Output:
pkg/security/storage.go:47:2: return with no blank line before (nlreturn)
return kr.Set(item)
^
|
golangci-lint
reviewdog exited with status code: 1
|
Loading