https://github.com/graveyard-shift/gy-serv-init
Initiate a barebones Golang web-server using gin-gonic as its http framework
https://github.com/graveyard-shift/gy-serv-init
boof golang http
Last synced: 22 days ago
JSON representation
Initiate a barebones Golang web-server using gin-gonic as its http framework
- Host: GitHub
- URL: https://github.com/graveyard-shift/gy-serv-init
- Owner: Graveyard-Shift
- Created: 2022-03-16T16:24:12.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-03-16T16:45:12.000Z (about 4 years ago)
- Last Synced: 2025-12-19T08:37:36.068Z (3 months ago)
- Topics: boof, golang, http
- Language: Go
- Homepage:
- Size: 16.6 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
gy-serv-init
> `gy-serv-init` initiates a new Golang webserver that uses the `gin-gonic` package as its http framework.
### Usage
```
gy-serv-init MyAppName
cd MyAppName
```
> The `gy-serv-init` command takes in one argument; the project's name. It takes the project name and creates a directory named ${projectName} inside the cwd. This directory is the directory the boilerplate will be written in.
```
MyAppName
├── src
│ ├── controllers
│ | ├── main.controllers.go
│ | └── utils.go
| |
│ └── router
| └── router.go
├── .editorconfig
├── .gitignore
├── go.mod
└── main.go
```