HASH a83b2f7fa5ea
DATE 2024-11-19
SUBJECT templates: add go files to go template
FILES 2 CHANGED
HASH a83b2f7fa5ea
DATE 2024-11-19
SUBJECT templates: add go files to go template
FILES 2 CHANGED
┌─ outputs/templates/go/src/go.mod ──────────────────────────────────────────┐
│ diff --git a/outputs/templates/go/src/go.mod b/outputs/templates/go/src/go.mod │
│ new file mode 100644 │
│ index 0000000..37ae5b3 │
│ --- /dev/null │
│ +++ b/outputs/templates/go/src/go.mod │
│ @@ -0,0 +1,3 @@ │
│ +module hello │
│ + │
│ +go 1.23.2 │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ outputs/templates/go/src/go.mod ────┐
│ diff --git a/outputs/templates/go/src/go.mod │
│ b/outputs/templates/go/src/go.mod │
│ new file mode 100644 │
│ index 0000000..37ae5b3 │
│ --- /dev/null │
│ +++ b/outputs/templates/go/src/go.mod │
│ @@ -0,0 +1,3 @@ │
│ +module hello │
│ + │
│ +go 1.23.2 │
└──────────────────────────────────────────────┘
┌─ outputs/templates/go/src/main.go ─────────────────────────────────────────┐
│ diff --git a/outputs/templates/go/src/main.go b/outputs/templates/go/src/main.go │
│ new file mode 100644 │
│ index 0000000..b0ab032 │
│ --- /dev/null │
│ +++ b/outputs/templates/go/src/main.go │
│ @@ -0,0 +1,7 @@ │
│ +package main │
│ + │
│ +import "fmt" │
│ + │
│ +func main() { │
│ + fmt.Println("Hello World!") │
│ +} │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ outputs/templates/go/src/main.go ───┐
│ diff --git a/outputs/templates/go/src/main.g │
│ o b/outputs/templates/go/src/main.go │
│ new file mode 100644 │
│ index 0000000..b0ab032 │
│ --- /dev/null │
│ +++ b/outputs/templates/go/src/main.go │
│ @@ -0,0 +1,7 @@ │
│ +package main │
│ + │
│ +import "fmt" │
│ + │
│ +func main() { │
│ + fmt.Println("Hello World!") │
│ +} │
└──────────────────────────────────────────────┘
[ BACK TO LOG ]
──────────────────────────────────────────────────────────────────────────────────────
OOKNET
────────────────────────────────────────────────
OOKNET