Skip to content

Instantly share code, notes, and snippets.

View masamerc's full-sized avatar
😀

Masa Mark Fukui masamerc

😀
View GitHub Profile
@estk
estk / main.go
Created December 14, 2016 21:12
A Tour of Go: Web Crawler Solution
package main
import (
"fmt"
"sync"
)
type Crawler struct {
crawled map[string]bool
mux sync.Mutex
@paulmach
paulmach / serve.go
Last active June 20, 2025 14:26
Simple Static File Server in Go
/*
Serve is a very simple static file server in go
Usage:
-p="8100": port to serve on
-d=".": the directory of static files to host
Navigating to http://localhost:8100 will display the index.html or directory
listing file.
*/
package main