mgo

package
v0.0.0-...-633417b Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MongoFuncGen

func MongoFuncGen(toPackage string, an ast.AnnotationDeclaration, str ast.StructDeclaration, pkgDeclr ast.PackageDeclaration, pkg ast.Package) ([]gen.WriteDirective, error)

MongoFuncGen generates a mongodb containing CRUDE functions in a package for a struct declaration.

func MongoGen

MongoGen generates a mongodb based CRUD api for a struct declaration.

func MongoSolo

func MongoSolo(toDir string, an ast.AnnotationDeclaration, pkgDeclr ast.PackageDeclaration, pkg ast.Package) ([]gen.WriteDirective, error)

MongoSolo generates a simple mongo implementation for executing code on mongodb.

Types

This section is empty.

Jump to

Keyboard shortcuts

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