From 54e9ee37a7a301dbe74d46fd3c87712e6120e9bf Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Thu, 20 Jan 2022 18:46:10 +0100 Subject: format with gofumpt (#18184) * gofumpt -w -l . * gofumpt -w -l -extra . * Add linter * manual fix * change make fmt --- modules/web/middleware/flash.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'modules/web/middleware/flash.go') diff --git a/modules/web/middleware/flash.go b/modules/web/middleware/flash.go index cd9b089b94..d1d4a864e3 100644 --- a/modules/web/middleware/flash.go +++ b/modules/web/middleware/flash.go @@ -14,10 +14,8 @@ const ( InfoFlash = "InfoMsg" ) -var ( - // FlashNow FIXME: - FlashNow bool -) +// FlashNow FIXME: +var FlashNow bool // Flash represents a one time data transfer between two requests. type Flash struct { -- cgit v1.2.3