Files
PandaX/pkg/tool/base_test.go
PandaX-Go 77ac18c21b [优化]
2024-08-25 19:58:05 +08:00

22 lines
345 B
Go

package tool
import (
"github.com/PandaXGO/PandaKit/utils"
"testing"
)
func TestToCamelCase(t *testing.T) {
camelCase := ToCamelCase("hello_world")
t.Log(camelCase)
}
func TestGenerateID(t *testing.T) {
id := utils.GenerateID("")
t.Log(id)
}
func TestGetInterfaceType(t *testing.T) {
id := GetInterfaceType(`{"aa": 23}`)
t.Log(id)
}