# README
repo-generator
Go generator for repository base on struct model
# Packages
No description provided by the author
# Functions
FindModelSourcePath finds the source file of the model.
Generate generates a repo file.
ParseModel parses a struct and returns a Model.
ParseRepo parses a repo and returns a Repo.
Receiver returns the receiver of the repo.
WithCreateFunc sets the create function.
WithDeleteFunc sets the delete function.
WithInsertFunc sets the insert function.
WithUpdateFunc sets the update function.
# Constants
MethodCmpOperatorEqual is the equal operator.
MethodCmpOperatorGreater is the greater operator.
MethodCmpOperatorNot is the not operator.
MethodCmpOperatorNotEqual is the not equal operator.
# Variables
ErrPackageNotFound is the error that indicates a package was not found.
# Structs
Field describes a field within a builder struct.
Generator is the generator struct.
Method describes a struct method.
Model describes a struct model.
Options holds the Generate options.
PackageImport defines a package which was imported in a Go file.
Repo describes a repo.
# Type aliases
MethodCmpOperator is the operator used to compare a method.
Option sets up a Generate options.