Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/mrk21/go-web-config-sample

Samples of config for web application implemented by Go.
https://github.com/mrk21/go-web-config-sample

Last synced: about 1 month ago
JSON representation

Samples of config for web application implemented by Go.

Awesome Lists containing this project

README

        

# go-web-config-sample

Samples of config for web application implemented by Go.

## Dependencies

- Go: 1.21
- gopkg.in/yaml.v3
- dario.cat/mergo

## Usage

```sh
# Run
go run .

# Run with environment variables
HOGE=a go run .

# Run on specified env
ENV=prod go run .

# Run on test env
go test

# Build and run
go build
./go-web-config-sample
```