Skip to content

A baseline for creating web-services in Go. Steal this code instead of making yet another framework out of it!

License

Notifications You must be signed in to change notification settings

oleksandr/not-a-web-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

not-a-web-framework

A baseline for creating web-services in Go (a bit on steroids, but still pretty small). It's not a framework, not even a library. Steal this code instead of making yet another framework out of it! Don't even go get this package. Instead - git clone and merge it with your code base or build your next service on top of it.

The inspiration comes from the blog post Build Your Own Framework in Go.

Which packages are used?

  • Alice (github.com/justinas/alice) for middleware (http.Handler chaining)
  • Gorilla Context (github.com/gorilla/context) for sharing data between middlewares
  • HttpRouter (github.com/julienschmidt/httprouter) for pattern-based request routing

About

A baseline for creating web-services in Go. Steal this code instead of making yet another framework out of it!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages