Skip to content

Instantly share code, notes, and snippets.

View givanov's full-sized avatar
💭
¯\_(ツ)_/¯

Georgi Ivanov givanov

💭
¯\_(ツ)_/¯
View GitHub Profile
@givanov
givanov / main.go
Created July 31, 2019 07:43 — forked from filewalkwithme/main.go
Listening multiple ports on golang http servers (using http.Handler)
package main
import (
"net/http"
)
func main() {
go func() {
http.ListenAndServe(":8001", &fooHandler{})
}()