Skip to content

Instantly share code, notes, and snippets.

@wm wm/main.go
Created Nov 8, 2015

What would you like to do?
package main
import (
func Yolo(w http.ResponseWriter, r *http.Request) {
fmt.Fprintln(w, "YOLO")
func main() {
http.Handle("/yolo2", http.HandlerFunc(Yolo))
http.ListenAndServe(":3000", nil)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.