helpers

package
v1.11.3 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindJSONFilesInDir

func FindJSONFilesInDir(t *testing.T, dir string) []string

FindJSONFilesInDir finds the JSON files in a directory.

func RawToDocuments added in v1.11.2

func RawToDocuments(doc bson.Raw) []bson.Raw

RawToDocuments converts a bson.Raw that is internally an array of documents to []bson.Raw.

func RawToInterfaces added in v1.11.2

func RawToInterfaces(docs ...bson.Raw) []interface{}

RawToInterfaces takes one or many bson.Raw documents and returns them as a []interface{}.

Types

This section is empty.

Jump to

Keyboard shortcuts

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