@@ -107,7 +107,7 @@ func ToIntPtrValue(v string) *int64 {
107107// string pointers and need to be resolved as part of `ResolveMultiple`.
108108func FromPtrValues (v []* string ) []string {
109109 res := make ([]string , len (v ))
110- for i := range len ( v ) {
110+ for i := range v {
111111 res [i ] = FromPtrValue (v [i ])
112112 }
113113 return res
@@ -116,7 +116,7 @@ func FromPtrValues(v []*string) []string {
116116// FromFloatPtrValues adapts a slice of float64 pointer fields for use as CurrentValues.
117117func FromFloatPtrValues (v []* float64 ) []string {
118118 res := make ([]string , len (v ))
119- for i := range len ( v ) {
119+ for i := range v {
120120 res [i ] = FromFloatPtrValue (v [i ])
121121 }
122122 return res
@@ -125,7 +125,7 @@ func FromFloatPtrValues(v []*float64) []string {
125125// FromIntPtrValues adapts a slice of int64 pointer fields for use as CurrentValues.
126126func FromIntPtrValues (v []* int64 ) []string {
127127 res := make ([]string , len (v ))
128- for i := range len ( v ) {
128+ for i := range v {
129129 res [i ] = FromIntPtrValue (v [i ])
130130 }
131131 return res
@@ -138,7 +138,7 @@ func FromIntPtrValues(v []*int64) []string {
138138// string pointers and need to be resolved as part of `ResolveMultiple`.
139139func ToPtrValues (v []string ) []* string {
140140 res := make ([]* string , len (v ))
141- for i := range len ( v ) {
141+ for i := range v {
142142 res [i ] = ToPtrValue (v [i ])
143143 }
144144 return res
@@ -147,7 +147,7 @@ func ToPtrValues(v []string) []*string {
147147// ToFloatPtrValues adapts ResolvedValues for use as a slice of float64 pointer fields.
148148func ToFloatPtrValues (v []string ) []* float64 {
149149 res := make ([]* float64 , len (v ))
150- for i := range len ( v ) {
150+ for i := range v {
151151 res [i ] = ToFloatPtrValue (v [i ])
152152 }
153153 return res
@@ -156,7 +156,7 @@ func ToFloatPtrValues(v []string) []*float64 {
156156// ToIntPtrValues adapts ResolvedValues for use as a slice of int64 pointer fields.
157157func ToIntPtrValues (v []string ) []* int64 {
158158 res := make ([]* int64 , len (v ))
159- for i := range len ( v ) {
159+ for i := range v {
160160 res [i ] = ToIntPtrValue (v [i ])
161161 }
162162 return res
0 commit comments