form

package
v0.17.3 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	Name     string
	Filename string
	Type     string
	Charset  string
	Value    string
}

type Form

type Form []Data

func (Form) File

func (f Form) File(name string) (Data, bool)

File returns the first Data matching the filename.

func (Form) Files added in v0.17.3

func (f Form) Files(name string) iter.Seq[Data]

Files returns an iterator over all Data matching the filename.

func (Form) Name

func (f Form) Name(name string) (Data, bool)

Name returns the first Data matching the name.

func (Form) Names added in v0.17.3

func (f Form) Names(name string) iter.Seq[Data]

Names returns an iterator over all Data matching the name.

Jump to

Keyboard shortcuts

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