Skip to content

dbrain/soggy

Repository files navigation

soggy

Fast, simple web framework for go. Based on express and web.go.

app, server := soggy.NewDefaultApp()
server.Get("/echo/(.*)", func (echo string) (string, map[string]string) {
  return "template_example.html", map[string]string{ "echo": echo }
})
server.Use(server.Router)
app.Listen("0.0.0.0:9999")

Features

  • Routing
  • Middleware
  • HTTP helpers
  • Server mounting
  • Easily pluggable view system
  • App/Server implement http.Handler, can use with your own http.Server
  • Speed of Go

Installation

Requirements

  • Go 1.0.1 (tested), instructions here.

Steps

$ go get github.com/dbrain/soggy

Examples

See examples.

About

An fast and simple express/sinatra like web framework.. thing.. for Go.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published