formatters

package
v0.0.0-...-5771147 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BsonFormatter

type BsonFormatter struct{}

func (*BsonFormatter) From

func (b *BsonFormatter) From(src []byte, val, info interface{}) error

func (*BsonFormatter) To

func (b *BsonFormatter) To(val, info interface{}) (out []byte, err error)

type ItemFormatter

type ItemFormatter interface {
	To(val, info interface{}) (out []byte, err error)
	From(src []byte, val, info interface{}) error
}

Jump to

Keyboard shortcuts

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