File tree Expand file tree Collapse file tree 6 files changed +7
-6
lines changed Expand file tree Collapse file tree 6 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ require (
2828 github.com/spf13/cobra v1.6.1
2929 github.com/stretchr/testify v1.8.1
3030 github.com/tidwall/pretty v1.2.1
31+ golang.org/x/exp v0.0.0-20230315142452-642cacee5cc0
3132 golang.org/x/oauth2 v0.4.0
3233 golang.org/x/sync v0.1.0
3334 golang.org/x/tools v0.5.0
Original file line number Diff line number Diff line change @@ -595,8 +595,8 @@ golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u0
595595golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a /go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4 =
596596golang.org/x/exp v0.0.0-20200207192155-f17229e696bd /go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM =
597597golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6 /go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU =
598- golang.org/x/exp v0.0.0-20221114191408-850992195362 h1:NoHlPRbyl1VFI6FjwHtPQCN7wAMXI6cKcqrmXhOOfBQ =
599- golang.org/x/exp v0.0.0-20221114191408-850992195362 /go.mod h1:CxIveKay+FTh1D0yPZemJVgC/95VzuuOLq5Qi4xnoYc =
598+ golang.org/x/exp v0.0.0-20230315142452-642cacee5cc0 h1:pVgRXcIictcr+lBQIFeiwuwtDIs4eL21OuM9nyAADmo =
599+ golang.org/x/exp v0.0.0-20230315142452-642cacee5cc0 /go.mod h1:CxIveKay+FTh1D0yPZemJVgC/95VzuuOLq5Qi4xnoYc =
600600golang.org/x/image v0.0.0-20190227222117-0694c2d4d067 /go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js =
601601golang.org/x/image v0.0.0-20190802002840-cff245a6509b /go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0 =
602602golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3 /go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE =
Original file line number Diff line number Diff line change 1- package dsutil
1+ package typeutil
22
33// Pointer creates a pointer from the given value. This is useful, when
44// creating a pointer from a loop variable [1] or when creating a pointer from
Original file line number Diff line number Diff line change 1- package dsutil
1+ package typeutil
22
33import (
44 "encoding/json"
Original file line number Diff line number Diff line change 1- package dsutil
1+ package typeutil
22
33import (
44 "encoding/json"
Original file line number Diff line number Diff line change 1- package dsutil
1+ package typeutil
22
33func LimitSlice [T any ](slice []T , limit int ) ([]T , int ) {
44 l := len (slice )
You can’t perform that action at this time.
0 commit comments