chore: format go code (#4149)
This commit is contained in:
parent
c78bb76a12
commit
6707768ebd
3 changed files with 73 additions and 73 deletions
|
@ -161,7 +161,7 @@ func ParseNameBare(s string) Name {
|
||||||
}
|
}
|
||||||
|
|
||||||
scheme, host, ok := strings.Cut(s, "://")
|
scheme, host, ok := strings.Cut(s, "://")
|
||||||
if ! ok {
|
if !ok {
|
||||||
host = scheme
|
host = scheme
|
||||||
}
|
}
|
||||||
n.Host = host
|
n.Host = host
|
||||||
|
|
Loading…
Reference in a new issue