input

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: GPL-3.0 Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InvalidArgCountError

type InvalidArgCountError struct {
	ExpectedCount int
	ActualCount   int
}

func NewInvalidArgCountError

func NewInvalidArgCountError(expectedCount int, actualCount int) *InvalidArgCountError

func ValidateArgCount

func ValidateArgCount(argCount int, expectedCount int) *InvalidArgCountError

Validate command argument count

func (*InvalidArgCountError) Error

func (e *InvalidArgCountError) Error() string

Jump to

Keyboard shortcuts

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