package test import ( "code.zhecent.com/gopkg/light-core/lightCore" "github.com/gin-gonic/gin" "testing" ) func TestStart(t *testing.T) { lightCore.StartEngine("debug"). //LoadHtml("view/*"). Mounts([]*lightCore.Routers{}). SetNoRoute(func(context *gin.Context) { }). Launch(8888) }