1
1
mirror of https://github.com/namibia/awesome-cheatsheets.git synced 2024-12-22 10:08:54 +00:00

Merge pull request #180 from Weltraum/patch-1

Update golang.md
This commit is contained in:
Julien Le Coupanec 2021-03-21 13:57:26 +01:00 committed by GitHub
commit 81a237ae9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -158,8 +158,8 @@ var i, j, k = 1, 2, 3
// Special value: nil (same as null)
var number int // 0
var text string // false
var boolean bool // ""
var text string // ""
var boolean bool // false
// Type conversions
// T(v) converts v to type T
@ -817,4 +817,4 @@ fmt.Errorf("User %d not found", 123) // Print a formatted error
[Return to Summary](#summary)
<hr/>
<hr/>