mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-23 02:48:34 +08:00
22 lines
325 B
Go
22 lines
325 B
Go
package tool
|
|
|
|
import (
|
|
"pandax/kit/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)
|
|
}
|