コード例 #1
0
ファイル: store.go プロジェクト: osipchuk/testing
func (m *MgoUnitStore) Create(u *model.Unit) error {
	u.SetNew()
	return m.c.Insert(u)
}