This is an helper package. This has a lot of helper functions that would reduce rewriting many of the commonly used methods.
This requires Go version 1.11 or later.
go get -u github.com/parithiban/gohelper
The following are some of the methods that can be used from the package.
FindInSlice To check wether the given data is present in slice of any data type.
FindInStruct To check wether the given data is present in struct/[]struct of any data type.
EmailValidation To check the given string is a valid email.