From 66df4fe405f5a7757daaf7c360df2816e1a4f922 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Tue, 5 Jan 2021 20:45:10 +0300 Subject: [PATCH] Redundant types --- cmd/sgblog/http.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cmd/sgblog/http.go b/cmd/sgblog/http.go index 403b721..ce4bdcc 100644 --- a/cmd/sgblog/http.go +++ b/cmd/sgblog/http.go @@ -159,11 +159,11 @@ Topics: {{range .Topics}}[{{.}} var ( renderableSchemes = map[string]struct{}{ - "ftp": struct{}{}, - "gopher": struct{}{}, - "http": struct{}{}, - "https": struct{}{}, - "telnet": struct{}{}, + "ftp": {}, + "gopher": {}, + "http": {}, + "https": {}, + "telnet": {}, } ) -- 2.44.0