convert

package
v0.3.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToDoc

func ToDoc(m map[string]interface{}) bson.D

ToDoc recursively converts a map[string]interface{} to a bson.D.

func ToMap

func ToMap(doc bson.D) map[string]interface{}

ToMap recursively converts a bson.D to a map[string]interface{}.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL