package
0.0.0-20240706155926-abfbce6dfe79
Repository: https://github.com/joyboydata/empu.git
Documentation: pkg.go.dev
# Functions
AssertCleanQueryEqual is test helper to compare query generated using text/template.
CleanQuery is helper to clean query generated using text/template.
No description provided by the author
RenderConstruct renders the main construct with optional references.
# Structs
Construct defines a SQL template with associated functions for rendering.
ConstructRenderer renders a Construct with a given QueryModel.
Reference holds the name and the reference renderer for a sub-template.
# Interfaces
ReferenceRenderer interface defines a method to render a reference template.
Renderer interface defines a method to render a SQL template.
# Type aliases
QueryModel is an alias for any type, representing the model used in the template rendering.