commit 255ba740d61ab8b1f1fc524f9351646d36fef540 Author: taoya7 Date: Mon Jun 20 08:42:10 2022 +0800 1-try diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..07163f3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +Projects/ +*.exe \ No newline at end of file diff --git a/1-try/.idea/.gitignore b/1-try/.idea/.gitignore new file mode 100644 index 0000000..13566b8 --- /dev/null +++ b/1-try/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/1-try/.idea/1-try.iml b/1-try/.idea/1-try.iml new file mode 100644 index 0000000..5e764c4 --- /dev/null +++ b/1-try/.idea/1-try.iml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/1-try/.idea/modules.xml b/1-try/.idea/modules.xml new file mode 100644 index 0000000..14e8a63 --- /dev/null +++ b/1-try/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/1-try/README.md b/1-try/README.md new file mode 100644 index 0000000..1bd11f2 --- /dev/null +++ b/1-try/README.md @@ -0,0 +1,11 @@ + +### 打包 + +windows + +╰─$ go build -o server.exe main.go + +linux + +╰─$ go build -o server main.go 1 ↵ + diff --git a/1-try/go.mod b/1-try/go.mod new file mode 100644 index 0000000..b9b7bb7 --- /dev/null +++ b/1-try/go.mod @@ -0,0 +1,3 @@ +module 1-try + +go 1.18 diff --git a/1-try/main.go b/1-try/main.go new file mode 100644 index 0000000..91e7378 --- /dev/null +++ b/1-try/main.go @@ -0,0 +1,7 @@ +package main + +import "fmt" + +func main() { + fmt.Println("Hello World") +} diff --git a/1-try/server b/1-try/server new file mode 100755 index 0000000..4884030 Binary files /dev/null and b/1-try/server differ