refactor: naming cleanup and crypto package improvements (#551)

* refactor: naming cleanup across all packages
This commit is contained in:
Roger
2026-04-05 16:51:56 +08:00
committed by GitHub
parent 4af2ded428
commit 410bffe643
49 changed files with 716 additions and 510 deletions
+2 -2
View File
@@ -27,7 +27,7 @@ func TestDetectVersion(t *testing.T) {
}
}
func TestStripPrefix(t *testing.T) {
func Test_stripPrefix(t *testing.T) {
tests := []struct {
name string
ciphertext []byte
@@ -41,7 +41,7 @@ func TestStripPrefix(t *testing.T) {
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
assert.Equal(t, tt.want, StripPrefix(tt.ciphertext))
assert.Equal(t, tt.want, stripPrefix(tt.ciphertext))
})
}
}