https://github.com/nimblehq/gin-templates
Our optimized Gin templates used in our projects
https://github.com/nimblehq/gin-templates
gin go golang
Last synced: 8 months ago
JSON representation
Our optimized Gin templates used in our projects
- Host: GitHub
- URL: https://github.com/nimblehq/gin-templates
- Owner: nimblehq
- License: mit
- Created: 2021-02-01T08:17:33.000Z (over 5 years ago)
- Default Branch: develop
- Last Pushed: 2023-10-23T09:35:46.000Z (over 2 years ago)
- Last Synced: 2025-07-01T16:09:23.994Z (about 1 year ago)
- Topics: gin, go, golang
- Language: Go
- Homepage:
- Size: 256 KB
- Stars: 13
- Watchers: 19
- Forks: 1
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
Gin Templates
---
Our templates offer a rich boilerplate to jump start Go [Gin-based](https://github.com/gin-gonic/gin) application development.
Check this [wiki](https://github.com/nimblehq/gin-templates/wiki/Directories) for more information about the template structure.
## Get Started
### Prerequisite
- [Python interpreter](https://docs.python.org/3/using/index.html)
- Cookiecutter
- Mac: `brew install cookiecutter`
- Debian/Ubuntu: `sudo apt-get install cookiecutter`
- Go version >= 1.20
## Usage
- Download **latest** version of gin-templates.
```sh
go get github.com/nimblehq/gin-templates
```
- Build the binary file.
```sh
go build -o $GOPATH/bin/nimble-gin github.com/nimblehq/gin-templates
```
- Create the project using gin-templates. Note that the **main** branch is being used by default. Refer to [this wiki page](https://github.com/nimblehq/gin-templates/wiki/Commands) for instructions on how to use a different branch.
```sh
nimble-gin create
```
- Follow the instructions in the terminal.
- Your new application is created 🎉 .
## Test
```sh
make test
```
## Development
- Build the command with
```sh
go build -o
```
- Run the build file follow by the `create` command and the prompt to create a Go project should appear
```sh
create
```
## License
This project is Copyright (c) 2014 and onwards Nimble. It is free software,
and may be redistributed under the terms specified in the [LICENSE] file.
[license]: /LICENSE
## About

This project is maintained and funded by Nimble.
We love open source and do our part in sharing our work with the community!
See [our other projects][community] or [hire our team][hire] to help build your product.
[community]: https://github.com/nimblehq
[hire]: https://nimblehq.co/