Skip to content

Instantly share code, notes, and snippets.

@Poincare
Created December 9, 2013 01:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Poincare/7865924 to your computer and use it in GitHub Desktop.
Save Poincare/7865924 to your computer and use it in GitHub Desktop.
package main
import (
"github.com/hoisie/web"
)
func hello(val string) string {
return "hello " + val
}
func main() {
web.Get("/(.*)", hello)
web.Run("0.0.0.0:9999")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment