package goods import ( "github.com/towgo/towgo/dao/ormDriver/xormDriver" "github.com/towgo/towgo/towgo" ) func init() { xormDriver.Sync2(new(Goods)) towgo.NewCRUDJsonrpcAPI("/goods", Goods{}, []Goods{}).RegAPI() }