Documentation ¶
Index ¶
- func AssignOptionalStringPtr(flagValue string) *string
- func AssignStringField(flagValue string, fieldName string, inputFunc func(string) (string, error)) (string, error)
- func FlagFileUnmarshalJSON(path string, request any) error
- func Format(commands ...string) string
- func FormatAskFieldRequired(field string) string
- func ParseAndAssign[T any](value string, parseFunc func(string) (T, error)) (*T, error)
- func SafeNestedString[T any](parent *T, fieldFunc func(*T) *string) string
- func SafeString(value *string) string
- func UnmarshalJSONFromReader(file io.Reader, object any) error
- func ValidateDate(date string) error
- func WriteDetailsToFile(data []byte, outPath string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssignOptionalStringPtr ¶ added in v1.25.0
func AssignStringField ¶ added in v1.25.0
func FlagFileUnmarshalJSON ¶ added in v1.25.0
func FormatAskFieldRequired ¶ added in v1.25.0
func ParseAndAssign ¶ added in v1.25.0
func SafeNestedString ¶ added in v1.26.0
func SafeString ¶ added in v1.26.0
func UnmarshalJSONFromReader ¶ added in v1.25.0
func ValidateDate ¶ added in v1.31.0
func WriteDetailsToFile ¶ added in v1.25.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.