Skip to content

Instantly share code, notes, and snippets.

@acoyfellow
acoyfellow / gist:167b055da85248c94fc4
Created January 8, 2015 19:37
Socket.io + Golang CORS ?
package main
import (
"log"
"net/http"
"github.com/googollee/go-socket.io"
)
func SayHelloWorld(w http.ResponseWriter, r *http.Request) {
w.Write([]byte("Hello, World!"))