Пример #1
0
func (m *MgoUnitStore) Create(u *model.Unit) error {
	u.SetNew()
	return m.c.Insert(u)
}