Quidest?

Increment and decrement statements in Go

ยท Lorenzo Drumond

1x++

will increase the value of x by 1.

1x--

will decrease the value of x by 1.

These are statements, not expression: they do not return a value.

References

#decrement #golang #increment #programming