From 7a6f71ac73b41a38e9982bea3d46a87c327bd77a Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sat, 22 Mar 2025 13:17:55 +0800 Subject: Initial linting --- http_handle_repo_info.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'http_handle_repo_info.go') diff --git a/http_handle_repo_info.go b/http_handle_repo_info.go index abb971d..389936c 100644 --- a/http_handle_repo_info.go +++ b/http_handle_repo_info.go @@ -90,13 +90,13 @@ func httpHandleRepoInfo(w http.ResponseWriter, r *http.Request, params map[strin return nil } -// Taken from https://github.com/icyphox/legit, MIT license +// Taken from https://github.com/icyphox/legit, MIT license. func packLine(w io.Writer, s string) error { _, err := fmt.Fprintf(w, "%04x%s", len(s)+4, s) return err } -// Taken from https://github.com/icyphox/legit, MIT license +// Taken from https://github.com/icyphox/legit, MIT license. func packFlush(w io.Writer) error { _, err := fmt.Fprint(w, "0000") return err -- cgit v1.2.3