Categorygithub.com/alpstable/mongopb
modulepackage
0.1.1
Repository: https://github.com/alpstable/mongopb.git
Documentation: pkg.go.dev

# README

MongoPB

PkgGoDev Build Status Go Report Card Discord

MongoPB is a library for writing structpb-typed data to a MongoDB collection using the official MongoDB Go Driver.

Installation

go get github.com/alpstable/mongopb@latest

Usage

The type structpb types supported by this package are

See the gidari library to learn how to write to a MongoDB collection from a web API.

Contributing

Follow this guide for information on contributing.

# Functions

NewListWriter creates a new ListWriter for writing a structpb.ListValue to a MongoDB collection.

# Constants

Version is the version of the mongopb package.

# Structs

ListWriter is used to write a structpb.ListValue to a MongoDB collection.