model

package
v1.23.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2026 License: MIT Imports: 1 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Feedback

type Feedback struct {
	model.Page
	Contact          []model.TextField   `json:"contact"`
	TypeRadios       model.RadioFieldset `json:"type_radios"`
	DescriptionField model.TextareaField `json:"description_field"`
	PreviousURL      string              `json:"previous_url"`
	ReturnTo         string              `json:"return_to"`
}

Page contains data reused for feedback model

type FeedbackForm added in v1.0.0

type FeedbackForm struct {
	FormLocation     string `schema:"feedback-form-type"`
	Type             string `schema:"type"`
	IsTypeErr        bool   `schema:"is_type_err"`
	URI              string `schema:":uri"`
	URL              string `schema:"url"`
	IsURLErr         bool   `schema:"is_url_err"`
	Description      string `schema:"description"`
	IsDescriptionErr bool   `schema:"is_description_err"`
	Name             string `schema:"name"`
	Email            string `schema:"email"`
	IsEmailErr       bool   `schema:"is_email_err"`
}

FeedbackForm represents the user feedback form

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL