chore: apply golangci "forbidigo" to all packages (#39151)

This commit is contained in:
wxiaoguang authored and GitHub committed 2026-08-27 16:34:44 +00:00
1 parent 66c672d0b7
commit b7cfa4e67e
17 files changed
+61 -54

No files matched your search

+2
View File
@@ -24,6 +24,8 @@ import (
pull_service "gitea.dev/services/pull"
)
const SshInfoJson = `{"type":"agit","version":1}`
func parseAgitPushOptionValue(s string) string {
if base64Value, ok := strings.CutPrefix(s, "{base64}"); ok {
decoded, err := base64.StdEncoding.DecodeString(base64Value)