mirror of
https://github.com/AynaLivePlayer/miaosic.git
synced 2025-12-14 00:38:14 +08:00
fix session cmd: save session every in every command add qq init fix init sequence update gitignore fix miaosic cmd add kugou album info in search update qq music api.
19 lines
317 B
Go
19 lines
317 B
Go
package qq
|
|
|
|
import (
|
|
"fmt"
|
|
"github.com/stretchr/testify/require"
|
|
"testing"
|
|
"time"
|
|
)
|
|
|
|
func TestHash33(t *testing.T) {
|
|
require.Equal(t, 1318936952, hash33("123fdas32asdf", 321))
|
|
}
|
|
|
|
func TestName(t *testing.T) {
|
|
if time.UnixMilli(1756987630 * 1000).Before(time.Now().Add(24 * time.Hour)) {
|
|
fmt.Println(123)
|
|
}
|
|
}
|