mirror of
https://github.com/namibia/awesome-cheatsheets.git
synced 2024-11-21 20:35:12 +00:00
Update golang.md
This commit is contained in:
parent
db0520dc23
commit
46f2b2e3a1
@ -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/>
|
||||
|
Loading…
Reference in New Issue
Block a user