Implement review suggestions

This commit is contained in:
Daniel 2021-01-08 16:46:11 +01:00
parent 7c7340c2e7
commit 4b2bfc3e8f
3 changed files with 19 additions and 19 deletions

View file

@ -65,7 +65,7 @@ func printStack(_ *Request) (msg string, err error) {
// debugInfo returns the debugging information for support requests.
func debugInfo(ar *Request) (data []byte, err error) {
// Create debug information helper.
di := new(debug.DebugInfo)
di := new(debug.Info)
di.Style = ar.Request.URL.Query().Get("style")
// Add debug information.