env

package module
v0.0.0-...-107b8e8 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Unmarshal

func Unmarshal(v any) (help func() string, _ error)

Types

type KindAbsFile

type KindAbsFile struct{}

func (KindAbsFile) Parse

func (KindAbsFile) Parse(s string) ([]string, error)

type KindArgs

type KindArgs struct{}

func (KindArgs) Parse

func (KindArgs) Parse(s string) ([]string, error)

type KindParser

type KindParser[T any] interface {
	Parse(string) (T, error)
}

type KindPort

type KindPort struct{}

func (KindPort) Parse

func (KindPort) Parse(s string) (uint16, error)

type KindString

type KindString struct{}

func (KindString) Parse

func (KindString) Parse(s string) (string, error)

Jump to

Keyboard shortcuts

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