Categorygithub.com/exepirit/go-template
module
0.0.0-20230210050821-bf903a44ab4d
Repository: https://github.com/exepirit/go-template.git
Documentation: pkg.go.dev

# README

go-template

A Go application with RESTful API template.

Setup

This application requires Go 1.18 version.

To install for development purposes execute these commands:

$ git clone [email protected]:exepirit/go-template.git
$ cd go-template/
$ go mod download

Build

Terminal

$ go build ./cmd/greeter-app

Configuration

Application can be configured in two ways: via config.yaml file in the current working directory, or environment variables.

ParameterEnvDescription
DebugDEBUGDebugging mode. In this mode lots of debugging information will be printed on stdout.
ListenAddressLISTENADDRESSHost and port, that the HTTP server will listen on.

Contribution

Simply create an issue or a pull request.

# Packages

No description provided by the author
No description provided by the author