Skip to content

Commit

Permalink
Use standard library slices package
Browse files Browse the repository at this point in the history
  • Loading branch information
elffjs committed Aug 24, 2024
1 parent 723e9bb commit 3cfdd67
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ require (
github.com/valyala/tcplisten v1.0.0 // indirect
github.com/volatiletech/inflect v0.0.1 // indirect
github.com/volatiletech/randomize v0.0.1 // indirect
golang.org/x/exp v0.0.0-20240404231335-c0f41cb1a7a0
golang.org/x/exp v0.0.0-20240404231335-c0f41cb1a7a0 // indirect
golang.org/x/net v0.28.0 // indirect
golang.org/x/sys v0.23.0 // indirect
golang.org/x/text v0.17.0 // indirect
Expand Down
2 changes: 1 addition & 1 deletion internal/controllers/geofences_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"database/sql"
"encoding/json"
"fmt"
"slices"
"time"

ddgrpc "github.com/DIMO-Network/device-definitions-api/pkg/grpc"
Expand All @@ -26,7 +27,6 @@ import (
"github.com/volatiletech/sqlboiler/v4/boil"
"github.com/volatiletech/sqlboiler/v4/queries/qm"
"github.com/volatiletech/sqlboiler/v4/types"
"golang.org/x/exp/slices"
)

// TODO(elffjs): Setting?
Expand Down
2 changes: 1 addition & 1 deletion internal/controllers/nft_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"fmt"
"io"
"math/big"
"slices"
"strconv"
"strings"

Expand Down Expand Up @@ -35,7 +36,6 @@ import (
"github.com/volatiletech/sqlboiler/v4/boil"
"github.com/volatiletech/sqlboiler/v4/queries/qm"
"github.com/volatiletech/sqlboiler/v4/types"
"golang.org/x/exp/slices"
)

type NFTController struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/controllers/user_integrations_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"encoding/json"
"fmt"
"math/big"
"slices"
"strconv"
"strings"
"time"
Expand All @@ -31,7 +32,6 @@ import (
"github.com/volatiletech/null/v8"
"github.com/volatiletech/sqlboiler/v4/boil"
"github.com/volatiletech/sqlboiler/v4/queries/qm"
"golang.org/x/exp/slices"
"golang.org/x/mod/semver"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/services/tesla_fleet_api_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
"io"
"net/http"
"net/url"
"slices"
"strconv"
"strings"
"time"
Expand All @@ -17,7 +18,6 @@ import (
"github.com/goccy/go-json"
"github.com/golang-jwt/jwt/v5"
"github.com/rs/zerolog"
"golang.org/x/exp/slices"
"golang.org/x/oauth2"
)

Expand Down

0 comments on commit 3cfdd67

Please sign in to comment.