fix: missing complex types

* Added missing complex types

* Fixed missing complex types
This commit is contained in:
Paul Waldmann
2018-11-07 16:35:56 +08:00
committed by Inanc Gumus
parent 160f9f38e6
commit 320bb1c177
2 changed files with 6 additions and 1 deletions

View File

@ -21,6 +21,10 @@ func main() {
var f32 float32
var f64 float64
// complex types
var c64 complex64
var c128 complex128
// bool type
var b bool
@ -32,6 +36,7 @@ func main() {
fmt.Println(
i, i8, i16, i32, i64,
f32, f64,
c64, c128,
b, r, by,
)