command

package
v0.1.36 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorMessages

func ErrorMessages(prefix string, err error) map[string][]string

func Process

func Process(cmd Command) error

func ToSnakeCase

func ToSnakeCase(str string) string

func Validate

func Validate(v Validatable, prefix string) error

Types

type Command

type Command interface {
	Validatable
}

type Validatable

type Validatable interface {
	Validate() error
}

Jump to

Keyboard shortcuts

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