Skip to content
This repository has been archived by the owner on Apr 27, 2022. It is now read-only.

Latest commit

 

History

History
27 lines (19 loc) · 457 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 457 Bytes

Golang REST API bootstrap project

Build and run

Required docker, git

Clone this repository

git clone https://github.com/sazarkin/golang-rest-api-example.git && cd golang-rest-api-example

Build docker image

docker build -t github.com/sazarkin/golang-rest-api-example .

Run docker container

docker run --rm -p 8080:8080 github.com/sazarkin/golang-rest-api-example

Test endpoint

http -v :8080/pokemon/charizard