package
0.0.0-20231118132614-550751b58e10
Repository: https://github.com/furmanovd/go-kit.git
Documentation: pkg.go.dev
# Functions
IfElse returns the value of the valTrue if the condition is true and returns valFalse otherwise.
MustReadFile reads the file and returns the content byte slice.
MustTime parses a time string of format RFC3339 and returns a time.
MustTimeFn creates a time function with mocked (time.RFC3339 formatted string)time value to be returned.
MustTimePtr parses a time string of format RFC3339 and returns a pointer to a time.
MustUUID parses uuid's string representation and returns a uuid.UUID.
MustUUIDFn create uuid function with mocked uuid.
Neg returns -abs(n) of the number !=0 or -1 otherwise.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NilOrStr returns a nil or pointer to a given string value.
No description provided by the author
No description provided by the author
No description provided by the author
NonNeg returns abs(n) or zero.
NonPos returns -abs(n) or zero.
NotNilRnd returns a not nil random generator: the source or creates a new.
Pos returns abs(n) of the number !=0 or 1 otherwise.
Ptr returns a pointer to an object given.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author