add example of go project

This commit is contained in:
kbwo 2024-06-30 18:18:27 +09:00
parent 582589af60
commit 80ee356a06
14 changed files with 287 additions and 0 deletions

15
test_proj/go/main.go Normal file
View file

@ -0,0 +1,15 @@
package main
import "fmt"
func main() {
fmt.Println("hello world")
}
func addOne(x int) int {
return x + 1
}
func addTwo(x int) int {
return x + 2
}