示例#1
0
文件: store.go 项目: osipchuk/testing
func (m *MgoUnitStore) Create(u *model.Unit) error {
	u.SetNew()
	return m.c.Insert(u)
}