Skip to content

Utility library that provides a convenient way to find elements on collections.

License

Notifications You must be signed in to change notification settings

elephantoss/go-find

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Find

Build & Test Coverage Status GitHub GitHub last commit Go Report Card GoDoc

Find is a utility library that provides a convenient way to find elements in collections.

Why do I need it?

If you are tired of writing the same 3 lines of code every time you want to get a value out of a collection or use a default value and you wonder why there is not a more convenient way to do it, then this lib is for you.

Example

Get a value out of a map:

value := maps.Find(myMap, "key", "some-default-value")

About

Utility library that provides a convenient way to find elements on collections.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages