Change word DEPENDENCES to DEPENDENCIES.

See? This is something would happen if you staring at a file that you created like a month ago and start to think "Hey, I wonder whether or not this is a valid English word"
This commit is contained in:
NI
2019-08-07 16:16:09 +08:00
parent 02f14eb14f
commit 122587c4bd
5 changed files with 10 additions and 10 deletions

View File

@@ -84,7 +84,7 @@ func (h handler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
fallthrough
case "/LICENSE.md":
fallthrough
case "/DEPENDENCES.md":
case "/DEPENDENCIES.md":
err = serveStaticData(r.URL.Path[1:], w, r, clientLogger)
default:

View File

@@ -44,7 +44,7 @@ const (
var (
staticPages = map[string]staticData{
{{ range . }}"{{ .Name }}":
{{ range . }}"{{ .Name }}":
parseStaticData({{ .GOPackage }}.{{ .GOVariableName }}()),
{{ end }}
}
@@ -154,7 +154,7 @@ var (
// by "go generate", DO NOT EDIT! Also, do not open this file, it maybe too large
// for your editor. You've been warned.
//
// This file may contain third-party binaries. See DEPENDENCES for detail.
// This file may contain third-party binaries. See DEPENDENCIES.md for detail.
import (
"time"
@@ -182,14 +182,14 @@ func {{ .GOVariableName }}() (
}
data, dataErr := hex.DecodeString(raw{{ .GOVariableName }}Data)
raw{{ .GOVariableName }}Data = ""
if dataErr != nil {
panic(dataErr)
}
return {{ .FileStart }}, {{ .FileEnd }},
return {{ .FileStart }}, {{ .FileEnd }},
{{ .CompressedStart }}, {{ .CompressedEnd }},
"{{ .ContentHash }}", "{{ .CompressedHash }}", created, data
}