You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BethanyG
changed the title
[Go] Analyzer extension for concept exercise: basic-slices
[V3] Analyzer extension for concept exercise: basic-slices
Jan 28, 2021
This issue describes what the Go analyzer should check for in the
card-tricks
exercise.Function
GetItem
else
should be usedif
statement (with 2 conditions)switch
should be usedFunction
SetItem
GetItem
apply here as wellFunction
PrefilledSlice
len
orcap
givenrange
, not recursive)Function
NumberRow
make
ornew
should be used but a nil slice created withvar xy []int
for i := 1; true; i++
)Function
RemoveItemPure
GetItem
apply here as wellfor
loop, onlyappend
Function
RemoveItem
GetItem
apply here as wellThe text was updated successfully, but these errors were encountered: