feat: init project with some starter Go code
This commit is contained in:
commit
5dd1cc25e9
11 changed files with 382 additions and 0 deletions
14
hello.go
Normal file
14
hello.go
Normal 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())
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue