Skip to content

A collection of atomic checks that can be applied to values.

License

Notifications You must be signed in to change notification settings

nickwells/check.mod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go.dev reference Go Report Card GitHub License

check

A collection of atomic checks that can be applied to values.

Each of the check functions returns an error if the value doesn't pass the check or nil if the check is passed.

The checks are typically very simple to the point where you might question why not perform the check directly. The reason is that as functions they can be composed and combined and then passed to other code to be called later. They are used extensively for checking command line parameters.

About

A collection of atomic checks that can be applied to values.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages