main.go
· 129 B · Go
Orginalformat
package package1
import "fmt"
// Hello prints a greeting message
func Hello(name string) {
fmt.Printf("Hello, %s!\n", name)
}
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 | } |
9 |