diff --git a/gitea/agent_linux.go b/gitea/agent.go similarity index 97% rename from gitea/agent_linux.go rename to gitea/agent.go index a375525..7622ece 100644 --- a/gitea/agent_linux.go +++ b/gitea/agent.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a MIT-style // license that can be found in the LICENSE file. +//go:build !windows + package gitea import ( diff --git a/gitea/agent_darwin.go b/gitea/agent_darwin.go deleted file mode 120000 index d6aeab2..0000000 --- a/gitea/agent_darwin.go +++ /dev/null @@ -1 +0,0 @@ -agent_linux.go \ No newline at end of file diff --git a/gitea/agent_windows.go b/gitea/agent_windows.go index 865fa37..135dc4f 100644 --- a/gitea/agent_windows.go +++ b/gitea/agent_windows.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a MIT-style // license that can be found in the LICENSE file. +//go:build windows + package gitea import (