deprecation

package
v0.5.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 25, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Message

func Message(deprecated string, alternative ...interface{}) string

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

func ShortMessage(deprecated string, alternative ...interface{}) string

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL