[#3068] fixed RequestData log deprecation note

Co-authored-by: Gung Jodi <agung.pratama@dana.id>
This commit is contained in:
Gung Jodi 2023-08-05 12:24:20 +08:00 committed by GitHub
parent b59f0f418e
commit 5c14c7cf5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ const ContextRequestInfoKey = "requestInfo"
// Deprecated: Use RequestInfo instead. // Deprecated: Use RequestInfo instead.
func RequestData(c echo.Context) *models.RequestInfo { func RequestData(c echo.Context) *models.RequestInfo {
log.Println("RequestInfo(c) is depracated and will be removed in the future! You can replace it with RequestInfo(c).") log.Println("RequestData(c) is deprecated and will be removed in the future! You can replace it with RequestInfo(c).")
return RequestInfo(c) return RequestInfo(c)
} }