mirror of
https://github.com/go-gitea/gitea.git
synced 2026-08-29 07:54:09 +00:00
chore: apply golangci "forbidigo" to all packages (#39151)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user