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