Documentation
¶
Index ¶
- func BoolPtr(b bool) *bool
- func IsAudio(ext string) bool
- func IsAudioFile(filename string) bool
- func IsContains(i any, j []any) bool
- func IsDocument(ext string) bool
- func IsDocumentFile(filename string) bool
- func IsEmailValid(address string) bool
- func IsEmpty(i any) bool
- func IsEqual(i, j any) bool
- func IsFalse(i any) bool
- func IsGreater(i, j any) bool
- func IsGreaterOrEqual(i, j any) bool
- func IsImage(ext string) bool
- func IsImageFile(filename string) bool
- func IsIn(i any, j []any) bool
- func IsInArray(i any, j []any) bool
- func IsInString(i string, j []string) bool
- func IsLess(i, j any) bool
- func IsLessOrEqual(i, j any) bool
- func IsNil(v any) bool
- func IsNotContains(i any, j []any) bool
- func IsNotEmpty(i any) bool
- func IsNotEqual(i, j any) bool
- func IsNotIn(i any, j []any) bool
- func IsNotInString(i string, j []string) bool
- func IsNotNil(i any) bool
- func IsPhoneValid(phone string) bool
- func IsTrue(i any) bool
- func IsURL(s string) bool
- func IsVideo(ext string) bool
- func IsVideoFile(filename string) bool
- func PtrBool(b *bool) bool
- func RemoveEmptyString(as []string) []string
- func ValidateStruct(s any, lang ...string) map[string]string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAudioFile ¶ added in v0.1.2
IsAudioFile checks if a file is an audio based on its name/extension
func IsDocumentFile ¶ added in v0.1.2
IsDocumentFile checks if a file is a document based on its name/extension
func IsGreaterOrEqual ¶
IsGreaterOrEqual verify is greater or equal
func IsImageFile ¶ added in v0.1.2
IsImageFile checks if a file is an image based on its name/extension
func IsNotInString ¶
IsNotInString verify is not in string
func IsVideoFile ¶ added in v0.1.2
IsVideoFile checks if a file is a video based on its name/extension
func RemoveEmptyString ¶
RemoveEmptyString remove empty string of string array
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.