feat: init project with some starter Go code

This commit is contained in:
Zhongheng Liu 2024-10-20 22:21:31 +03:00
commit 5dd1cc25e9
Signed by: steven
GPG key ID: DC8F48E7B4C40905
11 changed files with 382 additions and 0 deletions

14
hello.go Normal file
View file

@ -0,0 +1,14 @@
package main
import "fmt"
import "rsc.io/quote"
func greet(name string) string {
msg := fmt.Sprintf("Good day to you, %v!", name)
return msg
}
func main() {
greet("Steven")
fmt.Println(quote.Glass())
}