argparse

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Arg

type Arg[T any] struct {
	// contains filtered or unexported fields
}

func ParseValue

func ParseValue[T any](arg js.Value) Arg[T]

func ParseValues

func ParseValues[T any](args ...js.Value) []Arg[T]

func (*Arg[T]) Error

func (a *Arg[T]) Error() error

func (*Arg[T]) Raw

func (a *Arg[T]) Raw() js.Value

func (*Arg[T]) Value

func (a *Arg[T]) Value() *T

Jump to

Keyboard shortcuts

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