package category import ( "github.com/towgo/towgo/dao/ormDriver/xormDriver" "github.com/towgo/towgo/towgo" ) func init() { xormDriver.Sync2(new(Category)) towgo.NewCRUDJsonrpcAPI("/category", Category{}, []Category{}).RegAPI() towgo.SetFunc("/category/treeList", TreeList) } func TreeList(rpcConn towgo.JsonRpcConnection) { }