/go-shortener

This project is a playground to check golang features and other techniques.

Primary LanguageGoMIT LicenseMIT

GO-Shortener

This project is a playground to check golang features and other techniques.

The origin of the code were these videos: video 1, video 2, video 3

Task file commands:

  1. dc-build-and-up - Calls make-container task then calls dc-up task. This is the most faster way to start from scratch GO-Shortener and its infrastructure.

  2. task make-container - Calls build-app task then build a container file based on Dockerfile.

  3. task build-app - Builds app for linux/x64 architecture without CGO enabled. The GO-Shortener execution file is stored in the Bin folder.

  4. task dc-up - Runs the docker-compose script

  5. task dc-down - Stops the docker-compose script