URL details: hoangphuctv.github.io/blog/hoc-go-qua-vi-du/golang-web-redirect.html
URL title:
Go redirect location | Lập trình
URL paragraphs:
package main import ( "log" "net/http" ) func redirectHome(w http.ResponseWriter, r *http.Request) { http.Redirect(w, r, "/", 301) } func main() { http.HandleFunc("/", redirectHome) err := http.ListenAndServe(":8123", nil) if err != nil { log.Fatal("Listen
URL last crawled:
2023-04-13
URL speed:
150.000 MB/s,
downloaded in 0.001 seconds
We found no external links pointing to this url.