harbor/models/base.go
2016-06-02 17:57:39 +08:00

16 lines
211 B
Go

package models
import (
"github.com/astaxie/beego/orm"
)
func init() {
orm.RegisterModel(new(RepTarget),
new(RepPolicy),
new(RepJob),
new(User),
new(Project),
new(Role),
new(AccessLog))
}