templates: add go files to go template
This commit is contained in:
parent
7a4216ae43
commit
a83b2f7fa5
2 changed files with 10 additions and 0 deletions
3
outputs/templates/go/src/go.mod
Normal file
3
outputs/templates/go/src/go.mod
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
module hello
|
||||||
|
|
||||||
|
go 1.23.2
|
||||||
7
outputs/templates/go/src/main.go
Normal file
7
outputs/templates/go/src/main.go
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
package main
|
||||||
|
|
||||||
|
import "fmt"
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
fmt.Println("Hello World!")
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue