From e81ccc406bf723a5a58d685e7782f281736affd4 Mon Sep 17 00:00:00 2001 From: flynnnnnnnnnn <118399147+flynnnnnnnnnn@users.noreply.github.com> Date: Sun, 27 Nov 2022 13:20:29 -0500 Subject: Implement FSFE REUSE for golang files (#21840) Change all license headers to comply with REUSE specification. Fix #16132 Co-authored-by: flynnnnnnnnnn Co-authored-by: John Olheiser --- modules/web/middleware/binding.go | 3 +-- modules/web/middleware/cookie.go | 3 +-- modules/web/middleware/data.go | 3 +-- modules/web/middleware/flash.go | 3 +-- modules/web/middleware/locale.go | 3 +-- modules/web/middleware/request.go | 3 +-- 6 files changed, 6 insertions(+), 12 deletions(-) (limited to 'modules/web/middleware') diff --git a/modules/web/middleware/binding.go b/modules/web/middleware/binding.go index cced9717be..733f00a1d5 100644 --- a/modules/web/middleware/binding.go +++ b/modules/web/middleware/binding.go @@ -1,7 +1,6 @@ // Copyright 2014 The Gogs Authors. All rights reserved. // 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 middleware diff --git a/modules/web/middleware/cookie.go b/modules/web/middleware/cookie.go index b5904d6713..7c1aaf6daf 100644 --- a/modules/web/middleware/cookie.go +++ b/modules/web/middleware/cookie.go @@ -1,7 +1,6 @@ // Copyright 2020 The Macaron Authors // Copyright 2020 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 middleware diff --git a/modules/web/middleware/data.go b/modules/web/middleware/data.go index 7de686498a..43189940ee 100644 --- a/modules/web/middleware/data.go +++ b/modules/web/middleware/data.go @@ -1,6 +1,5 @@ // Copyright 2020 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 middleware diff --git a/modules/web/middleware/flash.go b/modules/web/middleware/flash.go index d1d4a864e3..f2d7cc692d 100644 --- a/modules/web/middleware/flash.go +++ b/modules/web/middleware/flash.go @@ -1,6 +1,5 @@ // Copyright 2020 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 middleware diff --git a/modules/web/middleware/locale.go b/modules/web/middleware/locale.go index f4018527c0..f60be4bbdb 100644 --- a/modules/web/middleware/locale.go +++ b/modules/web/middleware/locale.go @@ -1,6 +1,5 @@ // Copyright 2020 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 middleware diff --git a/modules/web/middleware/request.go b/modules/web/middleware/request.go index f620da5eea..34add27214 100644 --- a/modules/web/middleware/request.go +++ b/modules/web/middleware/request.go @@ -1,6 +1,5 @@ // Copyright 2020 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 middleware -- cgit v1.2.3