예제 #1
0
파일: store.go 프로젝트: osipchuk/testing
func (m *MgoUnitStore) Create(u *model.Unit) error {
	u.SetNew()
	return m.c.Insert(u)
}