mirror of
https://github.com/tcsenpai/ollama.git
synced 2025-06-06 19:25:21 +00:00
chore: format go code (#4149)
This commit is contained in:
parent
c78bb76a12
commit
6707768ebd
@ -161,7 +161,7 @@ func ParseNameBare(s string) Name {
|
||||
}
|
||||
|
||||
scheme, host, ok := strings.Cut(s, "://")
|
||||
if ! ok {
|
||||
if !ok {
|
||||
host = scheme
|
||||
}
|
||||
n.Host = host
|
||||
|
Loading…
x
Reference in New Issue
Block a user