Categorygithub.com/Logistrack/mongonull
modulepackage
0.1.0
Repository: https://github.com/logistrack/mongonull.git
Documentation: pkg.go.dev

# README

mongonull

Usage example:

package main

import (
	"github.com/Logistrack/mongonull"
	"go.mongodb.org/mongo-driver/mongo/options"
)

var opts = options.Client().SetRegistry(mongonull.BuildDefaultRegistry())

# Functions

BuildDefaultRegistry is a bsoncodec.Registry with codec for null.String, null.Int, null.Float, null.Bool and null.Time.