Documentation ¶
Index ¶
Constants ¶
View Source
const IDDelimiter = "|"
Variables ¶
This section is empty.
Functions ¶
func IPListToSnowflakeString ¶ added in v0.47.0
IPListToString formats a list of IPs into a Snowflake-DDL friendly string, e.g. ('192.168.1.0', '192.168.1.100').
func ListContentToString ¶ added in v0.36.0
ListContentToString strips list elements of double quotes or brackets.
func ListToSnowflakeString ¶
This function converts list of string into snowflake formated string like 'ele1', 'ele2'.
func SnowflakeID ¶ added in v0.62.0
func SnowflakeID(attributes ...interface{}) string
SnowflakeID generates a unique ID for a resource.
func StringListToList ¶ added in v0.62.0
StringListToList splits a string into a slice of strings, separated by a separator. It also removes empty strings and trims whitespace.
func StringToBool ¶ added in v0.62.0
StringToBool converts a string to a bool.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.