examples/

directory
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2022 License: MIT

README

Examples:

  • print - Take a string and print it to stdout
  • commands - Basic example of using commands
  • commands-advanced - Advanced usage of commands with sub-commands and argument scoping
  • required-args - Basic example of required vs optional string arguments

Directories

Path Synopsis
zoo
Validation functions always get a string slice as input and an error as the return type the string slice represents the 1+ instances of data passed to the argument the error represents what is returned in case the validation finds an error it must be nil if everything is ok
Validation functions always get a string slice as input and an error as the return type the string slice represents the 1+ instances of data passed to the argument the error represents what is returned in case the validation finds an error it must be nil if everything is ok

Jump to

Keyboard shortcuts

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