From ef4f411481a99a3a76c74967be716deba18f7971 Mon Sep 17 00:00:00 2001 From: Jon Lee Date: Tue, 14 May 2024 00:24:45 +0800 Subject: [PATCH] remove the folder --- Go_tutorial/To_get_start.md | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 Go_tutorial/To_get_start.md diff --git a/Go_tutorial/To_get_start.md b/Go_tutorial/To_get_start.md deleted file mode 100644 index be5817d..0000000 --- a/Go_tutorial/To_get_start.md +++ /dev/null @@ -1,26 +0,0 @@ -# To_get_start - -## Structure and Compilation -Let's first create a file called "Hello_JOJ.go", and write in: -```go -package main - -import ( - "fmt" -) - -func main(){ - fmt.Println("Hello "+ "JOJ") -} -``` -Observe the structure it is similar to both Python and C++, as it needs to import certain library and need some special package to run the program. We will also see further that the syntax of Go is like the combination of both C++ and Python. - -If you want to run the program, you can either choose to directly run it: -```bash -$ go run Hello_JOJ.go -``` -or choose to compile it as a binary file: -```bash -$ go build Hello_JOJ.go -$ ./Hello_JOJ -``` \ No newline at end of file