src

command
v0.0.0-...-21b4c7e Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

README

Go project bootstrap

A sample Go bootstrap project.

Versioning

Simply override the application version in the VERSION file.

Building the project

The Makefile contains all neccessary goals for build steps.

Simply type in make help to list all available goals.

Running

Simply run the application using the mandatory parameter: ./my-app --input-string=First,Second,Third

The application then prints the following output:

2018-06-06 16:09:51.138 INFO (main.go:30) schema-version-collector Received inputString: First,Second,Third
2018-06-06 16:09:51.138 INFO (main.go:33) schema-version-collector Parsed input value: First
2018-06-06 16:09:51.138 INFO (main.go:33) schema-version-collector Parsed input value: Second
2018-06-06 16:09:51.138 INFO (main.go:33) schema-version-collector Parsed input value: Third

Building and running in Docker

Build the application using make build-docker and run the following command: docker run my-organization/my-app:latest --input-string=First,Second,Third

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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