handler
Building Web Server with Go - Part 1
· ☕ 5 min read
This is part 1 of 09 part series on building web server with go. Checkout https://www.gophersumit.com/series/web-server/ for more. net/http package net/http package comes as part of standard library of Go. This provides HTTP client and server implementations. For building web servers with Go, there is no external library required. package documentation https://golang.org/pkg/net/http/ simple web server Writing a simple web server is trivial in Go. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 package main import "net/http" func hello(w http.