diff options
author | Runxi Yu <me@runxiyu.org> | 2025-04-05 23:21:58 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-04-05 23:21:58 +0800 |
commit | 7a52525ff474629316a3986f8b7391ca191da52e (patch) | |
tree | 1b0b64a235c4b3f9165c6130621a4f6bb1852ad5 /git_hooks_handle_other.go | |
parent | web: Separate HTTP error pages into its own package (diff) | |
download | forge-7a52525ff474629316a3986f8b7391ca191da52e.tar.gz forge-7a52525ff474629316a3986f8b7391ca191da52e.tar.zst forge-7a52525ff474629316a3986f8b7391ca191da52e.zip |
Remove unused types/functions
Diffstat (limited to 'git_hooks_handle_other.go')
-rw-r--r-- | git_hooks_handle_other.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/git_hooks_handle_other.go b/git_hooks_handle_other.go index 6fe6d9e..d4a6aea 100644 --- a/git_hooks_handle_other.go +++ b/git_hooks_handle_other.go @@ -25,11 +25,6 @@ import ( "go.lindenii.runxiyu.org/forge/internal/misc" ) -var ( - errGetFD = errors.New("unable to get file descriptor") - errGetUcred = errors.New("failed getsockopt") -) - // hooksHandler handles a connection from hookc via the // unix socket. func (s *Server) hooksHandler(conn net.Conn) { |