From 8e068b9c8ddb160a7c4d2304bf41eaf424c9e6fe Mon Sep 17 00:00:00 2001 From: Unlock Music Dev Date: Sun, 20 Nov 2022 02:18:50 +0800 Subject: [PATCH] refactor: rename xm -> xiami --- algo/{xm => xiami}/xm.go | 2 +- algo/{xm => xiami}/xm_cipher.go | 2 +- cmd/um/main.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename algo/{xm => xiami}/xm.go (99%) rename algo/{xm => xiami}/xm_cipher.go (96%) diff --git a/algo/xm/xm.go b/algo/xiami/xm.go similarity index 99% rename from algo/xm/xm.go rename to algo/xiami/xm.go index f017ff9..fbffc21 100644 --- a/algo/xm/xm.go +++ b/algo/xiami/xm.go @@ -1,4 +1,4 @@ -package xm +package xiami import ( "bytes" diff --git a/algo/xm/xm_cipher.go b/algo/xiami/xm_cipher.go similarity index 96% rename from algo/xm/xm_cipher.go rename to algo/xiami/xm_cipher.go index 7ab80d0..7f1e93c 100644 --- a/algo/xm/xm_cipher.go +++ b/algo/xiami/xm_cipher.go @@ -1,4 +1,4 @@ -package xm +package xiami type xmCipher struct { mask byte diff --git a/cmd/um/main.go b/cmd/um/main.go index 7ac935e..63765b4 100644 --- a/cmd/um/main.go +++ b/cmd/um/main.go @@ -22,7 +22,7 @@ import ( _ "unlock-music.dev/cli/algo/ncm" _ "unlock-music.dev/cli/algo/qmc" _ "unlock-music.dev/cli/algo/tm" - _ "unlock-music.dev/cli/algo/xm" + _ "unlock-music.dev/cli/algo/xiami" "unlock-music.dev/cli/internal/logging" )