File tree Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -52,8 +52,7 @@ func main() {
52
52
log .Fatal (err )
53
53
}
54
54
55
- // Reuse array
56
- // `Append` value to array
55
+ // Reuse array by resetting index and appending new values sequentially
57
56
hasMore := true
58
57
array .ResetAppendIndex ()
59
58
val := 200.0
Original file line number Diff line number Diff line change @@ -49,8 +49,7 @@ func main() {
49
49
log .Fatal (err )
50
50
}
51
51
52
- // Reuse array
53
- // `Append` value to array
52
+ // Reuse array by resetting index and appending new values sequentially
54
53
hasMore := true
55
54
array .ResetAppendIndex ()
56
55
val := 200.0
Original file line number Diff line number Diff line change @@ -45,8 +45,7 @@ func main() {
45
45
log .Fatal (err )
46
46
}
47
47
48
- // Reuse array
49
- // `Append` value to array
48
+ // Reuse array by resetting index and appending new values sequentially
50
49
hasMore := true
51
50
array .ResetAppendIndex ()
52
51
val := 200.0
You can’t perform that action at this time.
0 commit comments