Documentation
¶
Index ¶
- Variables
- func FormatError(err error) error
- func GetExecutablePath() string
- func Handle(err error) error
- func Hexify(s string) string
- func LookupAddress(address string) string
- func NewGUID() string
- func RebuildStringSliceFlag(flags []string, delimiter rune) ([]string, error)
- func SkipOAT(t testing.TB)
- func Time1601() time.Time
- func TimeAfter1601(offset int64) time.Time
- func TimeSince1601() time.Duration
- func ToTitleNoLower(in string) string
- func Unhexify(s string) string
- func Validate() *validator.Validate
- type ValidatorInterface
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAuthenticationFailed = errors.New("authentication failed")
View Source
var ErrInvalidFilter = errors.New("invalid filter syntax")
View Source
var ErrNetworkFailure = errors.New("network error")
View Source
var ErrNothingReturned = errors.New("nothing returned")
View Source
var ErrOperationFailed = errors.New("query failed")
View Source
var ErrQuotaExceeded = errors.New("quota limit exceed")
View Source
var ErrUbiquitousResults = errors.New("ubiquitous response")
Functions ¶
func FormatError ¶
func GetExecutablePath ¶
func GetExecutablePath() string
Get path of the executable that started current gr process.
func LookupAddress ¶
Resolve Internet Protocol address to domain name
func RebuildStringSliceFlag ¶
Parse string slice or string array flags by using custom csv reader
func TimeAfter1601 ¶
Retrieve date by applying offset. It should be in 0.1 µs
func TimeSince1601 ¶
func ToTitleNoLower ¶
Convert English words to title case (prevent lowercasing)
Types ¶
type ValidatorInterface ¶
type ValidatorInterface interface{ IsValid() bool }
Click to show internal directories.
Click to hide internal directories.