1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-09-01 18:53:58 +02:00

Fixed the statement that rune is an alias for uint32 in the translations

This commit is contained in:
James Baxter
2014-08-19 12:56:27 +01:00
parent d7ead48d1f
commit 4b5cbc91eb
6 changed files with 6 additions and 6 deletions

View File

@@ -75,7 +75,7 @@ func learnTypes() {
pode incluir quebras de linha.` // mesmo tipo string
// literal não-ASCII. A linguagem Go utiliza de raiz a codificação UTF-8.
g := 'Σ' // tipo rune, um alias para uint32, que contém um código unicode
g := 'Σ' // tipo rune, um alias para int32, que contém um código unicode
f := 3.14195 // float64, número de vírgula flutuante de 64bit (IEEE-754)
c := 3 + 4i // complex128, representado internamente com dois float64s