learning about golang values
This commit is contained in:
parent
41ec3282df
commit
71915cf8f2
1 changed files with 10 additions and 0 deletions
10
src/02-values.go
Normal file
10
src/02-values.go
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
package main
|
||||||
|
|
||||||
|
import "fmt"
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
fmt.Println("concat" + " " + "strings")
|
||||||
|
fmt.Println("1 + 1 =", 1 + 1)
|
||||||
|
fmt.Println("7.0 / 3.0 =", 7.0 / 3.0)
|
||||||
|
fmt.Println(true && false)
|
||||||
|
}
|
Loading…
Reference in a new issue