package
0.0.0-20220305145417-3f0f04c61ce2
Repository: https://github.com/dimau/snippetbox.git
Documentation: pkg.go.dev

# Functions

Define a New function to initialize a custom Form struct.

# Variables

Use the regexp.MustCompile() function to parse a pattern and compile a regular expression for sanity checking the format of an email address.

# Structs

Create a custom Form struct, which anonymously embeds a url.Values object (to hold the form data) and an Errors field to hold any validation errors for the form data.