package
0.0.0-20190806135343-59eeb304638e
Repository: https://github.com/iov-one/tutorial.git
Documentation: pkg.go.dev

# README

Model ORM

This is a refinement of the ModelBucket from weave/orm. I am testing it out here to ease development of the models in tutorial, but this should be merged into the main weave codebase.

You can see here how all parts of weave (including orm, middleware, etc) are extensible in third-party packages. But if you don't like looking under the hood, you can ignore this package.

# Functions

NewModelBucket returns a ModelBucket instance.
WithIndex configures the bucket to build an index with given name.

# Variables

No description provided by the author
No description provided by the author

# Structs

Counter could be used for sequence, but mainly just for test.

# Interfaces

Model is implemented by any entity that can be stored using ModelBucket.
ModelBucket is implemented by buckets that operates on Models rather than Objects.
No description provided by the author
ModelSlicePtr represents a pointer to a slice of models.

# Type aliases

ModelBucketOption is implemented by any function that can configure ModelBucket during creation.