refactor: qmc don't export internal functions

This commit is contained in:
Unlock Music Dev
2022-11-19 07:25:42 +08:00
parent b275b552ed
commit 4365628bff
8 changed files with 24 additions and 26 deletions

View File

@ -8,7 +8,7 @@ type mapCipher struct {
size int
}
func NewMapCipher(key []byte) (*mapCipher, error) {
func newMapCipher(key []byte) (*mapCipher, error) {
if len(key) == 0 {
return nil, errors.New("qmc/cipher_map: invalid key size")
}