Versions in this module Expand all Collapse all v1 v1.0.8 Jul 17, 2021 Changes in this version + type Model struct + func NewModel(db *md.Database) Model + func (m Model) FindMany(ctx context.Context, vals []Upsert) (ids []primitive.ObjectID, err error) + func (m Model) GetByIDs(ctx context.Context, ids []primitive.ObjectID) (res []Okved, err error) + func (m Model) GetBySlug(ctx context.Context, slug string) (res Okved, err error) + type Okved struct + Code string + CodeWithName string + ID primitive.ObjectID + Kind kind + Name string + Slug string + type Upsert struct + Code string + Kind string + Name string