mirror of
https://github.com/FiloSottile/age.git
synced 2026-09-20 06:54:17 +00:00
all: minor cleanups (#700)
Replace two hand-rolled slicesEqual helpers with slices.Equal from the standard library, which is already imported in age.go. (age.go:211-221, plugin/plugin.go:666-676) Fix godoc link typo [Indentity] -> [Identity]. (plugin/plugin.go:3) Fix comment typo "not MinPayload" -> "so MinPayload". (internal/inspect/inspect.go:25) Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -21,7 +21,7 @@ type Metadata struct {
|
||||
Header int64 `json:"header"`
|
||||
Armor int64 `json:"armor"`
|
||||
Overhead int64 `json:"overhead"`
|
||||
// Currently, we don't do any padding, not MinPayload == MaxPayload and
|
||||
// Currently, we don't do any padding, so MinPayload == MaxPayload and
|
||||
// MinPadding == MaxPadding == 0, but that might change in the future.
|
||||
MinPayload int64 `json:"min_payload"`
|
||||
MaxPayload int64 `json:"max_payload"`
|
||||
|
||||
Reference in New Issue
Block a user