Categorygithub.com/goexts/generic
modulepackage
0.1.5
Repository: https://github.com/goexts/generic.git
Documentation: pkg.go.dev

# README

Go-Generic-Basic

This is a simple example of using generics in Go.

Dependencies

API Documentation

Please see the API Documentation for api documentation.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Authors

# Packages

No description provided by the author
Package maps implements the functions, types, and interfaces for the module.
Package settings implements the functions, types, and interfaces for the module.
No description provided by the author
No description provided by the author
Package thread provides a simple way to run functions in goroutines with error handling.
Package trans implements the functions, types, and interfaces for the module.
Package types implements the functions, types, and interfaces for the module.

# Functions

Must is a utility function that ensures a value is not nil and returns it.
Must2 is a utility function that ensures a value is not nil and returns it.
MustLookup is a utility function that ensures a value is not nil and returns it.
MustLookupOr is a utility function that ensures a value is not nil and returns it.
MustLookupOrNil is a utility function that ensures a value is not nil and returns it.
MustLookupOrZero is a utility function that ensures a value is not nil and returns it.
MustOr is a utility function that ensures a value is not nil and returns it.
MustOrNil is a utility function that ensures a value is not nil and returns it.
MustOrZero is a utility function that ensures a value is not nil and returns it.
OrNil is a utility function that ensures a value is not nil and returns it.
OrNil2 is a utility function that ensures a value is not nil and returns it.