Go Concepts - Operators
Jump to navigation
Jump to search
External
- Go Specification - Operators: https://golang.org/ref/spec#Operators
Internal
+
Addition
-
Subtraction
*
Multiplication
/
Division
%
Remainder
=
The assignment operator.
==
[]
Indexing Operator.
Applies to:
- strings
- arrays
:=
Variable declaration and assignment. Also known as short variable declaration operator.