slice

package
v1.101.0 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromArgs

func FromArgs[T any](o *T, args ...string) error

FromArgs converts a list of args into a struct o

func FromSlice

func FromSlice[T any](s []string, o *T) (err error)

FromSlice converts a slice of key,values into a struct i

func ToSlice

func ToSlice[T any](s *T) (list []string, err error)

ToSlice converts a struct to a list of key values.

Types

This section is empty.

Jump to

Keyboard shortcuts

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