utils

package
v0.0.0-...-572c126 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendUnique

func AppendUnique(s []string, e string) []string

func Contains

func Contains(s []string, e string) bool

Contains returns true if an array Contains a specified string.

func FileExists

func FileExists(filePath string) bool

func MapForm

func MapForm(input []string) (map[string][]string, error)

func MergeStructs

func MergeStructs(dst, src interface{}) error

MergeStructs merges non-zero fields from src into dst.

func UnpackArgs

func UnpackArgs(args []string, c interface{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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