summaryrefslogtreecommitdiffstats
path: root/modules/charset/ambiguous/generate.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/charset/ambiguous/generate.go')
-rw-r--r--modules/charset/ambiguous/generate.go7
1 files changed, 3 insertions, 4 deletions
diff --git a/modules/charset/ambiguous/generate.go b/modules/charset/ambiguous/generate.go
index 7dd2821aae..b0c2531008 100644
--- a/modules/charset/ambiguous/generate.go
+++ b/modules/charset/ambiguous/generate.go
@@ -1,6 +1,5 @@
// Copyright 2022 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package main
@@ -135,8 +134,8 @@ func runTemplate(t *template.Template, filename string, data interface{}) error
var generatorTemplate = template.Must(template.New("ambiguousTemplate").Parse(`// This file is generated by modules/charset/ambiguous/generate.go DO NOT EDIT
// Copyright 2022 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
+
package charset