mirror of
https://github.com/namibia/awesome-cheatsheets.git
synced 2024-11-21 20:35:12 +00:00
commit
81a237ae9f
@ -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/>
|
||||||
|
Loading…
Reference in New Issue
Block a user