summaryrefslogtreecommitdiffstats
path: root/modules/timeutil
diff options
context:
space:
mode:
authorflynnnnnnnnnn <118399147+flynnnnnnnnnn@users.noreply.github.com>2022-11-27 13:20:29 -0500
committerGitHub <noreply@github.com>2022-11-27 18:20:29 +0000
commite81ccc406bf723a5a58d685e7782f281736affd4 (patch)
treebc9812f3f1779f8ce86b8f915d08aafd02e944b9 /modules/timeutil
parentf6fd501841816f5e5c1c9a30fbc4c9a2a6f987bc (diff)
downloadgitea-e81ccc406bf723a5a58d685e7782f281736affd4.tar.gz
gitea-e81ccc406bf723a5a58d685e7782f281736affd4.zip
Implement FSFE REUSE for golang files (#21840)
Change all license headers to comply with REUSE specification. Fix #16132 Co-authored-by: flynnnnnnnnnn <flynnnnnnnnnn@github> Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Diffstat (limited to 'modules/timeutil')
-rw-r--r--modules/timeutil/executable.go3
-rw-r--r--modules/timeutil/language.go3
-rw-r--r--modules/timeutil/since.go3
-rw-r--r--modules/timeutil/since_test.go3
-rw-r--r--modules/timeutil/timestamp.go3
5 files changed, 5 insertions, 10 deletions
diff --git a/modules/timeutil/executable.go b/modules/timeutil/executable.go
index 1875b63349..57ae8b2a9d 100644
--- a/modules/timeutil/executable.go
+++ b/modules/timeutil/executable.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 timeutil
diff --git a/modules/timeutil/language.go b/modules/timeutil/language.go
index d0380cac3d..c2f7a0e579 100644
--- a/modules/timeutil/language.go
+++ b/modules/timeutil/language.go
@@ -1,6 +1,5 @@
// Copyright 2019 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 timeutil
diff --git a/modules/timeutil/since.go b/modules/timeutil/since.go
index 8473d45051..295ba7c10e 100644
--- a/modules/timeutil/since.go
+++ b/modules/timeutil/since.go
@@ -1,6 +1,5 @@
// Copyright 2019 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 timeutil
diff --git a/modules/timeutil/since_test.go b/modules/timeutil/since_test.go
index 9350b5e96b..2e1dde00f6 100644
--- a/modules/timeutil/since_test.go
+++ b/modules/timeutil/since_test.go
@@ -1,6 +1,5 @@
// Copyright 2019 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 timeutil
diff --git a/modules/timeutil/timestamp.go b/modules/timeutil/timestamp.go
index 36b2aff575..4618db9a76 100644
--- a/modules/timeutil/timestamp.go
+++ b/modules/timeutil/timestamp.go
@@ -1,6 +1,5 @@
// Copyright 2017 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 timeutil