diff options
author | Runxi Yu <me@runxiyu.org> | 2025-02-13 22:59:16 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-02-13 22:59:16 +0800 |
commit | 98111aec8ddd70ca061c2954f3dddcc8817c1d44 (patch) | |
tree | df73ab1ad11f670c4d68590492bba4d1fced87b5 /ssh_url_generation.go | |
parent | http_{server,handle_login}.go: Fix missing error handling (diff) | |
download | forge-98111aec8ddd70ca061c2954f3dddcc8817c1d44.tar.gz forge-98111aec8ddd70ca061c2954f3dddcc8817c1d44.tar.zst forge-98111aec8ddd70ca061c2954f3dddcc8817c1d44.zip |
*.go: Reformat
Diffstat (limited to 'ssh_url_generation.go')
-rw-r--r-- | ssh_url_generation.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ssh_url_generation.go b/ssh_url_generation.go index 0cf4c1e..bdef57f 100644 --- a/ssh_url_generation.go +++ b/ssh_url_generation.go @@ -6,6 +6,5 @@ import ( ) func generate_ssh_remote_url(group_name, repo_name string) string { - return strings.TrimSuffix(config.SSH.Root, "/")+"/"+url.PathEscape(group_name)+"/:/repos/"+url.PathEscape(repo_name) + return strings.TrimSuffix(config.SSH.Root, "/") + "/" + url.PathEscape(group_name) + "/:/repos/" + url.PathEscape(repo_name) } - |