diff options
author | Runxi Yu <me@runxiyu.org> | 2025-02-18 10:23:44 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-02-18 10:23:44 +0800 |
commit | dd95e2dbfad7f39060dc70f145d0e1478770e454 (patch) | |
tree | 863f9c3a941f21a66fe0af1cbe9a09ae444c8a46 /http_handle_repo_commit.go | |
parent | README.md: Mention that anonymous pushes to contrib/ are possible now (diff) | |
download | forge-dd95e2dbfad7f39060dc70f145d0e1478770e454.tar.gz forge-dd95e2dbfad7f39060dc70f145d0e1478770e454.tar.zst forge-dd95e2dbfad7f39060dc70f145d0e1478770e454.zip |
*.go: Add some comments for docs
Diffstat (limited to 'http_handle_repo_commit.go')
-rw-r--r-- | http_handle_repo_commit.go | 2 |
1 files changed, 2 insertions, 0 deletions
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 |