Documentation ¶
Index ¶
Constants ¶
View Source
const (
// UnknownFunc is a string representing an unknown function.
UnknownFunc = "<unknown function>"
)
Variables ¶
This section is empty.
Functions ¶
func AmqpUriBuilder ¶
func EnsureID ¶
func EnsureID(v interface{}) string
EnsureID checks if v contains a field named "ID" of string type, and (if empty) sets its contents to a new ID. It does nothing otherwise, so it can be safely used on every type.
func GenerateID ¶
func GenerateID() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.