From: Sergey Matveev Date: Tue, 5 Jan 2021 17:45:10 +0000 (+0300) Subject: Redundant types X-Git-Tag: v0.15.0~3 X-Git-Url: http://www.git.stargrave.org/?p=sgblog.git;a=commitdiff_plain;h=66df4fe405f5a7757daaf7c360df2816e1a4f922 Redundant types --- 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": {}, } )