Moved Go to a Go branch, moved Readme
This commit is contained in:
parent
234225d4c4
commit
d15d79ad27
3 changed files with 0 additions and 23 deletions
|
@ -1,16 +0,0 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"net/http"
|
||||
)
|
||||
|
||||
func main() {
|
||||
http.HandleFunc("/", homepage)
|
||||
fmt.Println("Server is running on http://localhost:8081")
|
||||
http.ListenAndServe(":8081", nil)
|
||||
}
|
||||
|
||||
func homepage(w http.ResponseWriter, r *http.Request) {
|
||||
fmt.Fprintf(w, "<h1>Hello World</h1>")
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
package main
|
||||
|
||||
import "fmt"
|
||||
|
||||
func main() {
|
||||
fmt.Println("Hello World!")
|
||||
}
|
Loading…
Add table
Reference in a new issue