Skip to content

Feat: Keep current value of TypedValue in cache for faster reads #29

Feat: Keep current value of TypedValue in cache for faster reads

Feat: Keep current value of TypedValue in cache for faster reads #29

GitHub Actions / golangci-crypto failed Oct 21, 2023 in 1s

reviewdog [golangci-crypto] report

reported by reviewdog 🐶

Findings (1)

crypto/ed25519/key_pair.go|11 col 9| superfluous-else: if block ends with call to panic function, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)

Filtered Findings (0)

Annotations

Check failure on line 11 in crypto/ed25519/key_pair.go

See this annotation in the file changed.

@github-actions github-actions / golangci-crypto

[golangci-crypto] crypto/ed25519/key_pair.go#L11

superfluous-else: if block ends with call to panic function, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
Raw output
ed25519/key_pair.go:11:9: superfluous-else: if block ends with call to panic function, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
	} else {
		keyPair.PublicKey = public
		keyPair.PrivateKey = private

		return
	}