Slide 35
Slide 35 text
Generics
func MakeDocument[T BSONType](key string, value T) *Document
func MakeDocument2[T1, T2 BSONType](key1 string, value1 T1,
key2 string, value2 T2) *Document
func MakeDocument3[T1, T2, T3 BSONType](key1 string, value1 T1,
key2 string, value2 T2, key3 string, value3 T3) *Document