chore: format go code (#4149)

This commit is contained in:
alwqx 2024-05-06 07:08:09 +08:00 committed by GitHub
parent c78bb76a12
commit 6707768ebd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 73 additions and 73 deletions

View file

@ -161,7 +161,7 @@ func ParseNameBare(s string) Name {
}
scheme, host, ok := strings.Cut(s, "://")
if ! ok {
if !ok {
host = scheme
}
n.Host = host