fix(mini): println warning

This commit is contained in:
Aliberk Sandıkçı 2023-07-24 14:39:38 +03:00
parent 834dbb82c4
commit 1597f6539d
Signed by: asandikci
GPG key ID: 25C67A03B5666BC1

View file

@ -127,7 +127,7 @@ func main() {
// f3 := i4.(float64) // panic: interface conversion: interface {} is string, not float64
// fmt.Println(f3)
fmt.Println("\n\n")
fmt.Printf("\n\n")
fmt.Println("You can also use interfaces for getting a variable as argument and then deciding type of this variable. var.(type) returns interfaces type. And then you can check different types with switch-case")
somevar(61)
somevar("hello")