Closed bhutch29 closed 6 years ago
package main
import ( "log" "net/http" )
func main() { fs := http.FileServer(http.Dir("static")) http.Handle("/", fs)
log.Println("Listening...") http.ListenAndServe(":3000", nil) }
img src="/images/picture.jpg"
Save to known folder with file name = everything after last / in url