Documentation
¶
Index ¶
- func MongoFuncGen(toPackage string, an ast.AnnotationDeclaration, str ast.StructDeclaration, ...) ([]gen.WriteDirective, error)
- func MongoGen(toPackage string, an ast.AnnotationDeclaration, str ast.StructDeclaration, ...) ([]gen.WriteDirective, error)
- func MongoSolo(toDir string, an ast.AnnotationDeclaration, pkgDeclr ast.PackageDeclaration, ...) ([]gen.WriteDirective, error)
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 ¶
func MongoGen(toPackage string, an ast.AnnotationDeclaration, str ast.StructDeclaration, pkgDeclr ast.PackageDeclaration, pkg ast.Package) ([]gen.WriteDirective, error)
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.
Click to show internal directories.
Click to hide internal directories.