Skip to content

Stunext/goBoilterplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sourcegraph GoDoc Go Report Card Join the chat at https://gitter.im/labstack/echo Forum Twitter License

Feature Overview

  • Optimized HTTP router which smartly prioritize routes
  • Build robust and scalable RESTful APIs
  • Group APIs
  • Extensible middleware framework
  • Define middleware at root, group or route level
  • Data binding for JSON, XML and form payload
  • Handy functions to send variety of HTTP responses
  • Centralized HTTP error handling
  • Template rendering with any template engine
  • Define your format for the logger
  • Highly customizable
  • Automatic TLS via Let’s Encrypt
  • HTTP/2 support

How to run

$ go run main.go

About GORM

The fantastic ORM library for Golang, aims to be developer friendly.

go report card wercker status Join the chat at https://gitter.im/jinzhu/gorm MIT license GoDoc

Overview

  • Full-Featured ORM (almost)
  • Associations (Has One, Has Many, Belongs To, Many To Many, Polymorphism)
  • Hooks (Before/After Create/Save/Update/Delete/Find)
  • Preloading (eager loading)
  • Transactions
  • Composite Primary Key
  • SQL Builder
  • Auto Migrations
  • Logger
  • Extendable, write Plugins based on GORM callbacks
  • Every feature comes with tests
  • Developer Friendly

Other dependencies (Not Tracket)

Go code (golang) set of packages that provide many tools for testifying that your code will behave as you intend.

Install:

$ go get -u github.com/stretchr/testify/assert

Use:

$ go test ./tests

Swag converts Go annotations to Swagger Documentation 2.0. And provides a variety of builtin web framework lib. Let you can quickly integrated in existing golang project(using Swagger UI).

Install:

$ go get -u github.com/swaggo/swag/cmd/swag

Make sure you have a GOBIN system enviroument variable.

Use:

$ swag init

Especification in: https://swaggo.github.io/swaggo.io/

About

A Golang boilterplate based on Echo and GORM

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages