Skip to content

Commit c5cfff2

Browse files
committed
hello
0 parents  commit c5cfff2

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

1_hello_world/main.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
package main
2+
3+
import "fmt"
4+
5+
func main(){
6+
fmt.Println("hello world")
7+
}

2_simple_values/main.go

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
package main
2+
import "fmt"
3+
4+
func main(){
5+
//simple value
6+
fmt.Println(1) //integer
7+
fmt.Println(1+1)
8+
9+
//boolean
10+
fmt.Println(true)
11+
fmt.Println(false)
12+
}

0 commit comments

Comments
 (0)