Skip to content

dunods/go-web-service

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Synopsis

A very simple Go Web Service.

A video of the process of creating the service and Docker image can be seen on YouTube

Run

go run main.go

Build

go build

Run Go Executable

./go-web-service

Build Docker

docker build -t codetaming/go-web-service .

Run Docker

docker run --publish 8080:8080 -t codetaming/go-web-service

Push to Docker Hub

docker login
docker push codetaming/go-web-service

Test in Browser

http://localhost:8080/Code%20Taming

About

A very simple Go Web Service with Docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%