Created
November 9, 2015 13:06
-
-
Save mkarliner/4a313113308bc29852e6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import "net/http" | |
func main() { | |
panic(http.ListenAndServe(":8080", http.FileServer(http.Dir(".")))) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment