[#3068] fixed RequestData log deprecation note
Co-authored-by: Gung Jodi <agung.pratama@dana.id>
This commit is contained in:
parent
b59f0f418e
commit
5c14c7cf5e
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue