mirror of
https://github.com/kataras/iris.git
synced 2025-12-21 20:07:04 +00:00
minor
This commit is contained in:
@@ -55,7 +55,8 @@ func WriteDeprecated(ctx *context.Context, options DeprecationOptions) {
|
||||
}
|
||||
}
|
||||
|
||||
// Deprecated marks a specific handler as a deprecated.
|
||||
// Deprecated wraps an existing API handler and
|
||||
// marks it as a deprecated one.
|
||||
// Deprecated can be used to tell the clients that
|
||||
// a newer version of that specific resource is available instead.
|
||||
func Deprecated(handler context.Handler, options DeprecationOptions) context.Handler {
|
||||
|
||||
Reference in New Issue
Block a user