Versions in this module Expand all Collapse all v0 v0.1.0 Jan 27, 2021 Changes in this version + var DefaultTagName = "bson" + func ConvertStructToBSONMap(s interface{}, opts *MappingOpts) bson.M + type MappingOpts struct + GenerateFilterOrPatch bool + RemoveID bool + UseIDifAvailable bool + type StructToBSON struct + TagName string + func NewBSONMapperStruct(s interface{}) *StructToBSON + func (s *StructToBSON) SetTagName(tag string) + func (s *StructToBSON) ToBSONMap(opts *MappingOpts) bson.M