feat(start): initialize project with Go scaffold

- Add basic Go application structure.- Include `.gitignore` file with common Go ignores.
- Create `main.go` with initial "Hello, World!" implementation.
This commit is contained in:
liangzy 2024-07-18 17:36:07 +08:00
parent 98344ffb3a
commit 5c51ce0f20

View File

@ -8,7 +8,7 @@ var rootCmd = &cobra.Command{
Short: "Hello, World!", Short: "Hello, World!",
Long: `Hello, World!`, Long: `Hello, World!`,
Run: func(cmd *cobra.Command, args []string) { Run: func(cmd *cobra.Command, args []string) {
fmt.Println("Hello, World!") fmt.Println("Hello, World! corbra")
}, },
} }