Go Concepts - Operators: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 5: | Line 5: | ||
=Internal= | =Internal= | ||
* [[Go Concepts - Lexical Structure#Operators|Go Lexical Structure]] | * [[Go Concepts - Lexical Structure#Operators|Go Lexical Structure]] | ||
=+= | |||
Addition | |||
=-= | |||
Subtraction | |||
=*= | |||
Multiplication | |||
=/= | |||
Division | |||
=%= | |||
Remainder | |||
= = = | = = = |
Revision as of 07:48, 22 March 2016
External
- Go Specification - Operators: https://golang.org/ref/spec#Operators
Internal
+
Addition
-
Subtraction
*
Multiplication
/
Division
%
Remainder
=
The assignment operator.
==
[]
Indexing Operator.
:=
Variable declaration and assignment. Also known as short variable declaration operator.