package
1.6.0
Repository: https://github.com/sphireinc/mantis.git
Documentation: pkg.go.dev

# README

Sphire Mantis::Helper

The Helper package of Mantis provides helper (duh) functions for a myriad of things such as pointer exchange, string reversal, defer file close, atoi with default, and default value.

# Functions

AtoiWithDefault same as strconv.Atoi except only returns the value or a default value if nil.
No description provided by the author
No description provided by the author
Default returns the defaultVal given if originalVal is empty/nil.
DeferFileClose prevents non-closure file closing error.
No description provided by the author
FromPtr returns a pointer value for the value passed in.
Reverse a string.
StringToBool same as strconv.ParseBool except hides the error (returns false).
ToPtr returns a pointer value for the value passed in.

# Interfaces

No description provided by the author