definition

package module
v0.0.0-...-22dacb7 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2024 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 Definition

type Definition struct {
	// contains filtered or unexported fields
}

func New

func New() Definition

func (*Definition) Add

func (d *Definition) Add(opts ...Option) *Definition

func (*Definition) View

func (d *Definition) View(handle func(Option) error) error

type Option

type Option interface {
	Kind() string
}

type Options

type Options []Option

func (Options) Len

func (s Options) Len() int

func (Options) Swap

func (s Options) Swap(i, j int)

type Param

type Param struct {
	Name  string
	Value any
}

type Params

type Params []Param

func (Params) Get

func (p Params) Get(name string) (any, bool)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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