Files
PandaX/pkg/tool/base_test.go
2023-11-07 16:45:23 +08:00

22 lines
332 B
Go

package tool
import (
"pandax/pkg/global/model"
"testing"
)
func TestToCamelCase(t *testing.T) {
camelCase := ToCamelCase("hello_world")
t.Log(camelCase)
}
func TestGenerateID(t *testing.T) {
id := model.GenerateID()
t.Log(id)
}
func TestGetInterfaceType(t *testing.T) {
id := GetInterfaceType(`{"aa": 23}`)
t.Log(id)
}