Documentation ¶
Index ¶
- func DecodeSnowflakeImportID(id string, v interface{}) (interface{}, error)
- func IPListToSnowflakeString(ips []string) string
- func ListContentToString(listString string) string
- func ListToSnowflakeString(list []string) string
- func RandomSnowflakeID() string
- func SplitStringToSlice(s, sep string) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeSnowflakeImportID ¶ added in v0.56.4
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 RandomSnowflakeID ¶ added in v0.56.4
func RandomSnowflakeID() string
func SplitStringToSlice ¶ added in v0.56.4
SplitStringToSlice splits a string into a slice of strings, separated by a separator. It also removes empty strings.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.