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

View File

@@ -158,8 +158,8 @@ var i, j, k = 1, 2, 3
// Special value: nil (same as null) // Special value: nil (same as null)
var number int // 0 var number int // 0
var text string // false var text string // ""
var boolean bool // "" var boolean bool // false
// Type conversions // Type conversions
// T(v) converts v to type T // 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) [Return to Summary](#summary)
<hr/> <hr/>