Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Filter ¶
Filter filters items using the keep function @return return new array with filtered values
func Unique ¶
func Unique[T comparable](ar []T) []T
Unique remove duplicated values from array @return new table with unique values
Types ¶
type SliceOfFlag ¶
type SliceOfFlag[T any] []T
SliceOfFlag array support for variables in program flags np. var list sliceOfFlag[string] flag.Var(&list, "item", "additional items")
func (*SliceOfFlag[T]) Set ¶
func (i *SliceOfFlag[T]) Set(value T) error
Set is an implementation of the flag.Value interface
func (*SliceOfFlag[T]) String ¶
func (i *SliceOfFlag[T]) String() string
String is an implementation of the flag.Value interface
Click to show internal directories.
Click to hide internal directories.