bson

package
v1.1.7 Latest Latest
Warning

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

Go to latest
Published: May 31, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Type bpl.Ruler = typeImpl(0)

Type is a matching unit that matches a bson document.

Functions

This section is empty.

Types

type Document

type Document struct {
	// contains filtered or unexported fields
}

A Document represents a bson document.

func (*Document) MarshalJSON

func (p *Document) MarshalJSON() (b []byte, err error)

MarshalJSON is required by json.Marshal.

func (*Document) Vars

func (p *Document) Vars() (vars map[string]interface{}, err error)

Vars returns all variables of this document.

Jump to

Keyboard shortcuts

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