Use stdlib slices package instead of golang.org/x/exp/slices

This commit is contained in:
David Vogel 2025-08-30 19:20:22 +02:00
parent 98528cca1e
commit 0c22ebf554
5 changed files with 3 additions and 7 deletions

View File

@ -2,9 +2,8 @@ package input
import (
"fmt"
"slices"
"strconv"
"golang.org/x/exp/slices"
)
// ListBinder describes an interface that simple lists can implement to be compatible with list based UI components.

View File

@ -1,10 +1,10 @@
package input
import (
"slices"
"strconv"
"github.com/vugu/vugu"
"golang.org/x/exp/slices"
)
// Tags provides a way for the user to add/remove entries from a slice.

View File

@ -1,12 +1,12 @@
package overlay
import (
"slices"
"sync/atomic"
"time"
"git.d3nexus.de/Dadido3/D3vugu-components/components/navigation"
"github.com/vugu/vugu"
"golang.org/x/exp/slices"
)
// Container can be embedded in your root component and provides a way to show overlays like modals and toasts.

1
go.mod
View File

@ -6,7 +6,6 @@ require (
github.com/vugu/vgrouter v0.0.0-20200725205318-eeb478c42e5d
github.com/vugu/vjson v0.0.0-20200505061711-f9cbed27d3d9
github.com/vugu/vugu v0.4.0
golang.org/x/exp v0.0.0-20250819193227-8b4c13bb791b
)
require (

2
go.sum
View File

@ -35,8 +35,6 @@ github.com/vugu/vugu v0.4.0/go.mod h1:JU3YFROwFOqodkf1q8c1IRcx92j/dq258cqpaCsDlM
github.com/vugu/xxhash v0.0.0-20191111030615-ed24d0179019 h1:8NGiD5gWbVGObr+lnqcbM2rcOQBO6mr+m19BIblCdho=
github.com/vugu/xxhash v0.0.0-20191111030615-ed24d0179019/go.mod h1:PrBK6+LJXwb+3EnJTHo43Uh4FhjFFwvN4jKk4Zc5zZ8=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/exp v0.0.0-20250819193227-8b4c13bb791b h1:DXr+pvt3nC887026GRP39Ej11UATqWDmWuS99x26cD0=
golang.org/x/exp v0.0.0-20250819193227-8b4c13bb791b/go.mod h1:4QTo5u+SEIbbKW1RacMZq1YEfOBqeXa19JeshGi+zc4=
golang.org/x/net v0.0.0-20190912160710-24e19bdeb0f2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/sys v0.0.0-20181031143558-9b800f95dbbc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=