mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-07 02:15:34 +00:00
internal/debug: go 1.23.8 compat; use strings.Split not strings.SplitSeq
Currently build fails as go.mod uses go 1.23.8 which doesn't have strings.SplitSeq. Note: strings.SplitSeq was introduced in go 1.24. Signed-off-by: Miles Alan <m@milesalan.com>
This commit is contained in:
@@ -34,7 +34,7 @@ func Parse() {
|
|||||||
}
|
}
|
||||||
print := false
|
print := false
|
||||||
silent := false
|
silent := false
|
||||||
for part := range strings.SplitSeq(val, ",") {
|
for _, part := range strings.Split(val, ",") {
|
||||||
switch part {
|
switch part {
|
||||||
case textSubsystem:
|
case textSubsystem:
|
||||||
Text.Store(true)
|
Text.Store(true)
|
||||||
|
|||||||
Reference in New Issue
Block a user