Skip to content

Commit

Permalink
Merge pull request #115 from create-go-app/dev
Browse files Browse the repository at this point in the history
Add go-chi backend template
  • Loading branch information
koddr authored Jan 5, 2022
2 parents 57b77e5 + 5b03019 commit 532a571
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ cgapp deploy [OPTION]
- [`net/http`](https://github.com/create-go-app/net_http-go-template) — simple REST API with CRUD and JWT auth.
- Backend template with [Fiber](https://github.com/gofiber/fiber):
- [`fiber`](https://github.com/create-go-app/fiber-go-template) — complex REST API with CRUD, JWT auth with renew token, DB and cache.
- Backend template with [go-chi](https://github.com/go-chi/chi):
- [`chi`](https://github.com/create-go-app/chi-go-template) — a basic application with health
check.

### Frontend

Expand Down
5 changes: 3 additions & 2 deletions pkg/registry/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
)

// CLIVersion version of Create Go App CLI.
const CLIVersion string = "3.3.1"
const CLIVersion string = "3.3.2"

// Variables struct for Ansible variables (inventory, hosts).
type Variables struct {
Expand Down Expand Up @@ -48,9 +48,10 @@ var (
Options: []string{
"net/http",
"fiber",
"chi",
},
Default: "fiber",
PageSize: 2,
PageSize: 3,
},
Validate: survey.Required,
},
Expand Down

0 comments on commit 532a571

Please sign in to comment.