aboutsummaryrefslogtreecommitdiffstats
path: root/modules/web/routing
diff options
context:
space:
mode:
Diffstat (limited to 'modules/web/routing')
-rw-r--r--modules/web/routing/context.go3
-rw-r--r--modules/web/routing/funcinfo.go3
-rw-r--r--modules/web/routing/funcinfo_test.go3
-rw-r--r--modules/web/routing/logger.go3
-rw-r--r--modules/web/routing/logger_manager.go3
-rw-r--r--modules/web/routing/requestrecord.go3
6 files changed, 6 insertions, 12 deletions
diff --git a/modules/web/routing/context.go b/modules/web/routing/context.go
index 7e263db5a2..0d5e765543 100644
--- a/modules/web/routing/context.go
+++ b/modules/web/routing/context.go
@@ -1,6 +1,5 @@
// Copyright 2021 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 routing
diff --git a/modules/web/routing/funcinfo.go b/modules/web/routing/funcinfo.go
index 9bb38af1c8..499bc2c7aa 100644
--- a/modules/web/routing/funcinfo.go
+++ b/modules/web/routing/funcinfo.go
@@ -1,6 +1,5 @@
// Copyright 2021 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 routing
diff --git a/modules/web/routing/funcinfo_test.go b/modules/web/routing/funcinfo_test.go
index 9cea7e2817..2ab5960373 100644
--- a/modules/web/routing/funcinfo_test.go
+++ b/modules/web/routing/funcinfo_test.go
@@ -1,6 +1,5 @@
// Copyright 2021 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 routing
diff --git a/modules/web/routing/logger.go b/modules/web/routing/logger.go
index cf3b50725d..d1b0ff0cda 100644
--- a/modules/web/routing/logger.go
+++ b/modules/web/routing/logger.go
@@ -1,6 +1,5 @@
// Copyright 2021 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 routing
diff --git a/modules/web/routing/logger_manager.go b/modules/web/routing/logger_manager.go
index 7715b0b5d3..aa25ec3a27 100644
--- a/modules/web/routing/logger_manager.go
+++ b/modules/web/routing/logger_manager.go
@@ -1,6 +1,5 @@
// Copyright 2021 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 routing
diff --git a/modules/web/routing/requestrecord.go b/modules/web/routing/requestrecord.go
index 5e225f32e4..34a2d33893 100644
--- a/modules/web/routing/requestrecord.go
+++ b/modules/web/routing/requestrecord.go
@@ -1,6 +1,5 @@
// Copyright 2021 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 routing