Documentation

Overview

    Package checkbox provides a checkbox connected to a query parameter.

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    func New

    func New(defaultValue bool, query url.Values, queryParameter string) template.HTML

      New creates the HTML for a checkbox instance. Its checked value is directly connected to the presence of queryParameter. Changing either the presence of queryParameter, or checking/unchecking the checkbox will result in the other updating to match.

      Types

      This section is empty.

      Source Files