Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSafeTimestampWithMilliseconds ¶ added in v2.37.0
func GetSafeTimestampWithMilliseconds(inputTimestamp nrtime.EpochMilliseconds) nrtime.EpochMilliseconds
a helper function that is used to populate a timestamp with non-zero milliseconds if the millisecond count has been found zero, usually when generated with time.Time() in Golang which does not have a nanoseconds field; which helps mutations such as those in changetracking, the API of which requires a timestamp with non-zero milliseconds.
func IntArrayToString ¶
IntArrayToString converts an array of integers to a comma-separated list string - e.g [1, 2, 3] will be converted to "1,2,3".
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.