You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
231 B

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