go_dreamfactory/cmd/v2/lib/common/utils_test.go
2022-10-08 11:03:35 +08:00

19 lines
260 B
Go

package common
import (
"fmt"
"testing"
)
func TestSubStr(t *testing.T) {
str := "type.googleapis.com/UserResChangePush"
r := SubStr(str, 20, len(str))
fmt.Println(r)
}
func TestConver(t *testing.T) {
s := ConvertFileSize(25325466)
fmt.Println(s)
}