Versions in this module Expand all Collapse all v0 v0.1.0 Jun 11, 2024 Changes in this version + var ErrEmptyItem = errors.New("empty config item name") + var ErrEmptyValue = errors.New("empty config item value") + var ErrNotNoArgs = errors.New("no arg is accepted") + var ErrNotOneArgs = errors.New("only one arg is accepted") + var ErrNotTwoArgs = errors.New("only two args are accepted") + func GetItemFromArgs(args []string) (string, error) + func GetItemValueFromArgs(args []string) (string, string, error) + func ValidateItem(item string) error + func ValidateNoArg(args []string) error + func ValidateValue(value string) error