Documentation
¶
Overview ¶
一个UML meta 对应一个 Repository,维护自己的数据库配置
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
func New ¶
func New(config db.DbConfig) *Repository
func (*Repository) IsEntityExists ¶
func (r *Repository) IsEntityExists(name string) bool
func (*Repository) OpenSession ¶
func (r *Repository) OpenSession() (*orm.Session, error)
func (*Repository) PublishMeta ¶
func (r *Repository) PublishMeta(published, next *meta.UMLMeta, metaId shared.ID)
Click to show internal directories.
Click to hide internal directories.