Explore >> Select a destination


You are here

www.alexedwards.net
| | www.integralist.co.uk
2.3 parsecs away

Travel
| | Introduction Four ways to skin a cat How does the adapter work? Why is this interesting? Summary/Breakdown Introduction Here is some code that demonstrates the typical 'hello world' for a Go based web server: package main import ( "fmt" "net/http" ) func handler(w http.ResponseWriter, r *http.Request) { fmt.Fprintf(w, "Hello %s", r.URL.Path[1:]) } func main() { http.HandleFunc("/World", handler) http.ListenAndServe(":8080", nil) } Note: http://localhost:8080/World will return Hello World For most people,...
| | dusted.codes
4.0 parsecs away

Travel
| | Building a secure note sharing service in Go
| | justinas.org
1.4 parsecs away

Travel
| | [AI summary] The article explains the concept of middleware in web development, focusing on Go, and provides examples of implementing middleware for tasks like domain restriction, response modification, and data sharing between handlers.
| | reverseengineeringtogether.wordpress.com
24.5 parsecs away

Travel
| Bots are not always bad It might be tempting to just straight up set up a big firewall with lots and lots of rules to try and block each and every bot trying to access your website.You might want to try some "quick and dirty" hacks, such as checking the header's order to determine if...