Go Concepts - Operators

From NovaOrdis Knowledge Base
Revision as of 01:20, 23 March 2016 by Ovidiu (talk | contribs) (→‎[])
Jump to navigation Jump to search

External

Internal

+

Addition

-

Subtraction

*

Multiplication

/

Division

%

Remainder

=

The assignment operator.

==

[]

"[]" is the indexing operator.

Applies to:

:=

Variable declaration and assignment. Also known as short variable declaration operator.

<-