summaryrefslogtreecommitdiffstats
path: root/modules/charset/invisible/generate.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/charset/invisible/generate.go')
-rw-r--r--modules/charset/invisible/generate.go7
1 files changed, 3 insertions, 4 deletions
diff --git a/modules/charset/invisible/generate.go b/modules/charset/invisible/generate.go
index 39eddd58dd..9dfc253333 100644
--- a/modules/charset/invisible/generate.go
+++ b/modules/charset/invisible/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
@@ -88,8 +87,8 @@ func runTemplate(t *template.Template, filename string, data interface{}) error
var generatorTemplate = template.Must(template.New("invisibleTemplate").Parse(`// This file is generated by modules/charset/invisible/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