the beginning of the idiots
This commit is contained in:
15
gemini/go/main.go
Normal file
15
gemini/go/main.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"net/http"
|
||||
)
|
||||
|
||||
func main() {
|
||||
http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
|
||||
fmt.Fprintf(w, "Hello, World!")
|
||||
})
|
||||
|
||||
fmt.Println("Server starting on port 12000")
|
||||
http.ListenAndServe(":12000", nil)
|
||||
}
|
||||
Reference in New Issue
Block a user