Skip to content

nicholashoule/go-ginrest

Repository files navigation

Run on Repl.it

GitHub go.mod Go version GitHub Go

go-ginrest

Go (Golang) Example: Gin RESTful API

github.com/nicholashoule/go-ginrest

  • github.com/gin-gonic/gin (requires Gin is a HTTP web framework written in Go (Golang)
  • github.com/dchest/validator (requires)
  • github.com/thinkerou/favicon (requires)

Usage

GitHub

git clone git@github.com/nicholashoule/go-ginrest.git

Installing Go packages

go get

This project uses Task

taskfile.dev

brew install go-task/tap/go-task
task run
task build

Docker

docker build -t go-ginrest:1.20 .
docker run go-ginrest:1.20