go-template

module
v0.0.0-...-bf903a4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2023 License: MIT

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 git@github.com: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.

Parameter Env Description
Debug DEBUG Debugging mode. In this mode lots of debugging information will be printed on stdout.
ListenAddress LISTENADDRESS Host and port, that the HTTP server will listen on.

Contribution

Simply create an issue or a pull request.

Directories

Path Synopsis
cmd
greeter-app command
internal
api
app
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL