gorilla-tutorial-1

command module
v0.0.0-...-d42376a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 17, 2015 License: MIT Imports: 5 Imported by: 0

README

##Go/Gorilla for MEAN Stack developers part 1: HTTP routing

This is the code from the examples in my tutorial on learning HTTP routing in Go/Gorilla from Express.js, which you can go get with go get github.com/AndyHaskell/gorilla-tutorial-1. The code is available in both Go and JavaScript.

To run the Go version of the server, run go get github.com/gorilla/mux if you don't have Gorilla mux and then from this directory run go install and gorilla-tutorial-1. The server listens on port 1123.

To run the Node version, from this directory run npm install and then run node server.js. The server listens on port 1123.

###Image credits

  • The picture of the sloth is from Stefan Laube from Wikipedia and the picture is public domain.
  • The picture of the lemur is from Alex Dunkel on Wikipedia and the picture is licensed under CC BY 3.0. The only change made was to shrink the picture to be easier to work with in the examples.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL