An open API service indexing awesome lists of open source software.

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

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
```