Documentation
¶
Overview ¶
Package util contains utility functions that are used in dirrent places of the codebase.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddExtraSpaceIfExist ¶
AddExtraSpaceIfExist adds an extra space at the beginning of the string if the string is not empty.
func GetInterfaceAsSQL ¶
GetInterfaceAsSQL returns sql value representation of the value.
func ToSearchableMap ¶
func ToSearchableMap(attrs ...interface{}) (result interface{})
ToSearchableMap transform attrs to a map.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.