Hello World and Program Structure
Write your first Go program and learn what package main, import and func main do.
Voir la leçon →Apprenez la syntaxe de Go pas à pas : variables, types, chaînes, conditions, boucles, fonctions, tableaux, slices, maps et saisie.
Essayer Go en ligneWrite your first Go program and learn what package main, import and func main do.
Voir la leçon →Declare variables with var and :=, and fixed values with const.
Voir la leçon →Use arithmetic, comparison and logical operators, and see how integer division works.
Voir la leçon →Define functions, return more than one value and accept any number of arguments.
Voir la leçon →