package
0.0.0-20250212150013-a45d15d13afb
Repository: https://github.com/dennis-dko/go-toolkit.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
CheckPtrFieldValues checks if all fields of a struct are nil or zero value exceptFields is a list of fields that must be set.
CustomDateToFormat converts the *CustomDate to another specified format.
CustomTimeToFormat converts the *CustomTime to another specified format.
No description provided by the author
No description provided by the author
GetXMLValue get the first value from xml data which found by given selector.
No description provided by the author
No description provided by the author
No description provided by the author
NewDate returns a new CustomDate object with actual utc date.
NewNullBool returns a new NullBool with the given bool value.
NewNullDate creates a NullDate.
NewNullFloat64 creates a NullFloat64.
NewNullInt64 creates a NullInt64.
NewNullString creates a NullString.
NewNullTime creates a NullTime.
NewTime returns a new CustomTime object with actual utc time.
No description provided by the author
NullBoolPtrToBoolPtr converts a *NullBool to *bool.
No description provided by the author
NullDatePtrToCustomDatePtr converts a *NullDate to *CustomDate.
No description provided by the author
NullFloat64PtrToFloat64Ptr converts a *NullFloat64 to *float64.
No description provided by the author
NullInt64PtrToInt64Ptr converts a *NullInt64 to *int64.
No description provided by the author
NullStringPtrToStringPtr converts a *NullString to *string.
No description provided by the author
NullTimePtrToCustomTimePtr converts a *NullTime to *CustomTime.
ParseDate parses the given date string and returns a CustomDate object.
ParseTime parses the given time string and returns a CustomTime object.
ParseXMLToStruct parses xml data into given struct by using defined field tags like XPath e.g.
No description provided by the author
No description provided by the author
StringToBoolPtr converts a string to *bool.
StringToInt64Ptr converts a string to *int64.
No description provided by the author
# Constants
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
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
NullBool nullable bool that overrides sql.NullBool.
NullDate nullable date that overrides sql.NullTime.
NullFloat64 nullable float64 that overrides sql.NullFloat64.
NullInt64 nullable int64 that overrides sql.NullInt64.
NullString nullable string that overrides sql.NullString.
NullTime nullable time that overrides sql.NullTime.