Skip to content

Commit 532a571

Browse files
authored
Merge pull request #115 from create-go-app/dev
Add go-chi backend template
2 parents 57b77e5 + 5b03019 commit 532a571

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@ cgapp deploy [OPTION]
102102
- [`net/http`](https://github.com/create-go-app/net_http-go-template) — simple REST API with CRUD and JWT auth.
103103
- Backend template with [Fiber](https://github.com/gofiber/fiber):
104104
- [`fiber`](https://github.com/create-go-app/fiber-go-template) — complex REST API with CRUD, JWT auth with renew token, DB and cache.
105+
- Backend template with [go-chi](https://github.com/go-chi/chi):
106+
- [`chi`](https://github.com/create-go-app/chi-go-template) — a basic application with health
107+
check.
105108

106109
### Frontend
107110

pkg/registry/defaults.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
)
1212

1313
// CLIVersion version of Create Go App CLI.
14-
const CLIVersion string = "3.3.1"
14+
const CLIVersion string = "3.3.2"
1515

1616
// Variables struct for Ansible variables (inventory, hosts).
1717
type Variables struct {
@@ -48,9 +48,10 @@ var (
4848
Options: []string{
4949
"net/http",
5050
"fiber",
51+
"chi",
5152
},
5253
Default: "fiber",
53-
PageSize: 2,
54+
PageSize: 3,
5455
},
5556
Validate: survey.Required,
5657
},

0 commit comments

Comments
 (0)