From dd95e2dbfad7f39060dc70f145d0e1478770e454 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Tue, 18 Feb 2025 10:23:44 +0800 Subject: *.go: Add some comments for docs --- http_handle_repo_commit.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'http_handle_repo_commit.go') diff --git a/http_handle_repo_commit.go b/http_handle_repo_commit.go index 0eb6bb4..f6b73d5 100644 --- a/http_handle_repo_commit.go +++ b/http_handle_repo_commit.go @@ -11,6 +11,8 @@ import ( "go.lindenii.runxiyu.org/lindenii-common/misc" ) +// The file patch type from go-git isn't really usable in HTML templates +// either. type usable_file_patch struct { From diff.File To diff.File -- cgit v1.2.3