Documentation ¶ Overview ¶ bsongen will generate bson encoders and decoders for a given go type. It uses goimports to fix the import statetments post-generation. It assumes goimports is in the path. If you specify a GOIMPORTS environment variable, it will use that instead. Source Files ¶ View all Source files bsongen.go Click to show internal directories. Click to hide internal directories.