From 55919307b5a9ea4a288b42cfbcae6b0bed7d458d Mon Sep 17 00:00:00 2001 From: Dmitri Shuralyov Date: Thu, 8 Nov 2018 15:06:01 -0500 Subject: [PATCH] colornames: update SVG 1.1 spec URL The Scalable Vector Graphics (SVG) 1.1 specification URL has changed. The old URL, https://www.w3.org/TR/SVG/, now hosts the SVG 2 spec. SVG 1.1 spec has moved to https://www.w3.org/TR/SVG11/. This change makes this package go generate successfully with no diff. Change-Id: Ifa788b1bb47748610b3adc0ac96692c00bcb3158 Reviewed-on: https://go-review.googlesource.com/c/148566 Reviewed-by: Brad Fitzpatrick --- colornames/gen.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/colornames/gen.go b/colornames/gen.go index d46e968..49e9ad9 100644 --- a/colornames/gen.go +++ b/colornames/gen.go @@ -5,7 +5,7 @@ // +build ignore // This program generates table.go from -// http://www.w3.org/TR/SVG/types.html#ColorKeywords +// https://www.w3.org/TR/SVG11/types.html#ColorKeywords package main import ( @@ -165,7 +165,7 @@ func writeColorNames(w io.Writer, m map[string]color.RGBA) { fmt.Fprintln(w, ")") } -const url = "http://www.w3.org/TR/SVG/types.html" +const url = "https://www.w3.org/TR/SVG11/types.html" func main() { res, err := http.Get(url)