for example creating exapp
.
├── app_template.yaml
├── bg.txt
├── go.mod
└── src
└── main.go
name: "exapp"
bg-file-path: "bg.txt"
templates:
- "src/main.go"
- "go.mod"
module [[.ModName]]
go 1.12
package main
import (
"fmt"
)
func main() {
fmt.Println("hello [[.AppName]]")
}
append remote url of app_template.yaml
var remoteMap = map[string]string{
"go-deep-util-example": "https://ryomak.github.io/templates-for-gogener/go-deep-util/app_template.yaml",
"grpc-vue-go-example": "https://ryomak.github.io/templates-for-gogener/grpc-vue-example/app_template.yaml",
+ "exapp": "{github pages url)}/app_template.yaml",
}