Rebasing
This commit is contained in:
commit
b762e10acb
|
|
@ -1,3 +0,0 @@
|
||||||
module main.go
|
|
||||||
|
|
||||||
go 1.25.4
|
|
||||||
BIN
oreilly/goroute
BIN
oreilly/goroute
Binary file not shown.
|
|
@ -1,20 +0,0 @@
|
||||||
package main
|
|
||||||
|
|
||||||
import (
|
|
||||||
"log"
|
|
||||||
"net/http"
|
|
||||||
)
|
|
||||||
|
|
||||||
func lol(w http.ResponseWriter, r *http.Request) {
|
|
||||||
w.Write([]byte("azazaza"))
|
|
||||||
}
|
|
||||||
|
|
||||||
func main() {
|
|
||||||
http.HandleFunc("/",lol)
|
|
||||||
|
|
||||||
s := http.Server{
|
|
||||||
Addr: ":9000",
|
|
||||||
}
|
|
||||||
log.Fatal(s.ListenAndServe())
|
|
||||||
}
|
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user