bson

module
v0.0.0-...-4cbf3df Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2015 License: BSD-2-Clause

README

This is an extraction (with a couple of minor modifications) of Youtube's BSON library that's part of Vitess.

See https://github.com/youtube/vitess/

It is extracted so it can be imported without having to vendor the entire Vitess tree, and for the following changes:

  1. Fileds can have a struct tags, e.g bson:"foo" so overriding their struct names is possible.

  2. Strings are encoded as BSON strings and not Binary (this means they have to be utf-8).

Directories

Path Synopsis
Package bson implements encoding and decoding of BSON objects.
Package bson implements encoding and decoding of BSON objects.
Package bufio2 implements buffered I/O. It wraps an io.Reader or io.Writer object, creating another object (Reader or AsyncWriter) that also implements the interface but provides buffering and some help for textual I/O.
Package bufio2 implements buffered I/O. It wraps an io.Reader or io.Writer object, creating another object (Reader or AsyncWriter) that also implements the interface but provides buffering and some help for textual I/O.
Package bytes2 provides alternate implementations of functionality similar to go's bytes package.
Package bytes2 provides alternate implementations of functionality similar to go's bytes package.
Package hack gives you some efficient functionality at the cost of breaking some Go rules.
Package hack gives you some efficient functionality at the cost of breaking some Go rules.

Jump to

Keyboard shortcuts

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