dpi0 revised this gist . Go to revision
1 file changed, 0 insertions, 0 deletions
gistfile1.txt renamed to main.go
File renamed without changes
dpi0 revised this gist . Go to revision
1 file changed, 8 insertions
gistfile1.txt(file created)
@@ -0,0 +1,8 @@ | |||
1 | + | package package1 | |
2 | + | ||
3 | + | import "fmt" | |
4 | + | ||
5 | + | // Hello prints a greeting message | |
6 | + | func Hello(name string) { | |
7 | + | fmt.Printf("Hello, %s!\n", name) | |
8 | + | } |