Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/saltbo/goproject.v1
Generic golang project template
https://github.com/saltbo/goproject.v1
Last synced: about 2 months ago
JSON representation
Generic golang project template
- Host: GitHub
- URL: https://github.com/saltbo/goproject.v1
- Owner: saltbo
- License: mit
- Archived: true
- Created: 2020-07-23T11:09:26.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-08-06T16:36:55.000Z (about 4 years ago)
- Last Synced: 2024-07-05T00:42:31.706Z (3 months ago)
- Language: Python
- Homepage:
- Size: 26.4 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Goproject
Powered by [Cookiecutter](https://github.com/audreyr/cookiecutter), Goproject is a framework for jumpstarting production-ready go projects quickly.
## Usage
Alternatively, you can install `cookiecutter` with homebrew:
```console
$ brew install cookiecutter
```Finally, to run it based on this template, type:
```console
$ cookiecutter https://github.com/saltbo/goproject.git
```You will be asked about your basic info (name, project name, app name, etc.). This info will be used to customize your new project.
Warning: After this point, change 'Luis Morales', 'lacion', etc to your own information.
Answer the prompts with your own desired [options](). For example:
```console
author [saltbo]:
project_name [goproject-test]:
description [A Golang project.]:
use_cobra_cmd [y]:
Select web_framework:
1 - none
2 - github.com/gin-gonic/gin
Choose from 1, 2 [1]: 2
Select orm:
1 - none
2 - github.com/jinzhu/gorm
3 - github.com/go-xorm/xorm
Choose from 1, 2, 3 [1]: 2
Select redis:
1 - none
2 - github.com/go-redis/redis/v7
3 - github.com/go-redis/redis/v6
4 - github.com/go-redis/redis/v5
Choose from 1, 2, 3, 4 [1]: 2
```Run `make help` to see the available management commands, or just run `make build` to build your project.
```console
$ make
$ make run
```## Projects build with goproject
- [uptoc](https://github.com/saltbo/uptoc)