mirror of
https://github.com/OpenListTeam/OpenList.git
synced 2025-09-20 04:36:09 +08:00
18 lines
309 B
Go
18 lines
309 B
Go
![]() |
package test
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
"github.com/Xhofe/alist/alidrive"
|
||
|
"github.com/Xhofe/alist/conf"
|
||
|
"github.com/Xhofe/alist/utils"
|
||
|
"testing"
|
||
|
)
|
||
|
|
||
|
func TestStr(t *testing.T) {
|
||
|
fmt.Println(".password-"[10:])
|
||
|
}
|
||
|
|
||
|
func TestWriteYml(t *testing.T) {
|
||
|
alidrive.RefreshToken()
|
||
|
utils.WriteToYml("../conf.yml",conf.Conf)
|
||
|
}
|