package
0.0.0-20241129225105-34be54aba203
Repository: https://github.com/eventhunt-org/webapp.git
Documentation: pkg.go.dev

# README

Framework

This is the seed of a Go-based web framework I am writing. It is being built alongside EventHunt but will eventually be pulled out into its own project.

# Functions

No description provided by the author
* NewApp returns a new instance of App with many of its fields initialized.
* WithPort returns an AppOption to set a custom HTTP port for an App.

# Constants

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

# Variables

validates variables and structs to enforce rules.

# Structs

* App represents the overall state of the application and what makes it unique, * particularly when it comes to environment variables.
* BaseModel defines the minimum that all models should contain in terms of * fields.
* Flash represents a cross-page message to the user.

# Interfaces

* A model represents structured data that can undergo standard CRUD operations * with a PostgreSQL database.

# Type aliases

* AppOption customizes how an App is configured via the constructor.
No description provided by the author