diff options
| author | Jeff Carr <[email protected]> | 2025-03-18 15:13:55 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-03-18 15:13:55 -0500 |
| commit | 4b2ac683b7725cec816e3e31f7512b7e3f082722 (patch) | |
| tree | db9476c37b9a7e35d422aafa9cf25e209baad81a /applyPatch.go | |
| parent | 96aa1f09eaecc93bff5555670614fbfc36b75e14 (diff) | |
start using IterBy()
Diffstat (limited to 'applyPatch.go')
| -rw-r--r-- | applyPatch.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applyPatch.go b/applyPatch.go index 9abafef..8b05b18 100644 --- a/applyPatch.go +++ b/applyPatch.go @@ -160,7 +160,7 @@ func doRegister(newurl string) error { } test := strings.TrimSpace(string(body)) - for _, line := range strings.Split(test, "\n") { + for line := range strings.SplitSeq(test, "\n") { line = strings.TrimSpace(line) log.Info("server returned:", line) } |
