Skip to content

Commit 3a7222d

Browse files
author
gaomian.tc
committed
第一次提交
1 parent 35237b3 commit 3a7222d

File tree

3 files changed

+36
-0
lines changed

3 files changed

+36
-0
lines changed

.gitignore

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# 1、忽略IDE
2+
3+
# User-specific stuff
4+
.idea/
5+
6+
# 2、忽略Go语言
7+
# Binaries for programs and plugins
8+
*.exe
9+
*.exe~
10+
*.dll
11+
*.so
12+
*.dylib
13+
14+
# Test binary, built with `go test -c`
15+
*.test
16+
17+
# Output of the go coverage tool, specifically when used with LiteIDE
18+
*.out
19+
20+
# Dependency directories (remove the comment below to include it)
21+
# vendor/

go.mod

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module GoLanguagePrograming
2+
3+
go 1.18

main.go

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
package main
2+
3+
import "fmt"
4+
5+
func runChapter1() {
6+
fmt.Println("hello world")
7+
}
8+
9+
func main() {
10+
11+
runChapter1()
12+
}

0 commit comments

Comments
 (0)