Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Message ¶
Message takes a string representing the name of the deprecated item and an optional variadic of interfaces of alternative and returns a formatted string
func Print ¶
func Print(deprecated string, alternative ...interface{})
Print takes a string representing the name of the deprecated item and an optional variadic of interfaces of alternative and prints a formatted warning message to the console
func ShortMessage ¶
Message takes a string representing the name of the deprecated item and an optional variadic of interfaces of alternative and returns a short formatted string suitable for help and usage output
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.