diff options
Diffstat (limited to 'routers')
-rw-r--r-- | routers/private/manager_unix.go | 5 | ||||
-rw-r--r-- | routers/private/manager_windows.go | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/routers/private/manager_unix.go b/routers/private/manager_unix.go index 60ae9b68e8..1738c06a05 100644 --- a/routers/private/manager_unix.go +++ b/routers/private/manager_unix.go @@ -1,9 +1,10 @@ -// +build !windows - // 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. +//go:build !windows +// +build !windows + package private import ( diff --git a/routers/private/manager_windows.go b/routers/private/manager_windows.go index f6c9b7ec8f..a8a477313f 100644 --- a/routers/private/manager_windows.go +++ b/routers/private/manager_windows.go @@ -1,9 +1,10 @@ -// +build windows - // 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. +//go:build windows +// +build windows + package private import ( |