Skip to content

Best practices of how to setup a go API with iris and gorm

Notifications You must be signed in to change notification settings

responsibility-act/go-api-base-project

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GO API Base Project

This repository is my favorite way of kicking of a new API project in go. Read my blog post for all the details.

Run it

  • Install go (v1.13 or later)
  • go build
  • ./my-go-api

Try it

  • curl localhost:8080
  • curl localhost:8080/Jonny
  • curl localhost:8080/orders

Test it

  • go test -v

About

Best practices of how to setup a go API with iris and gorm

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%