Skip to content

Commit

Permalink
Update main.go
Browse files Browse the repository at this point in the history
  • Loading branch information
tsuresh authored Nov 4, 2023
1 parent 8237468 commit 683b59e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ import (

func main() {
http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
fmt.Fprintf(w, "Hello, UOR! \n")
fmt.Fprintf(w, "Hello, Folks! \n")
})

// /hello endpoint
http.HandleFunc("/hello", func(w http.ResponseWriter, r *http.Request) {
fmt.Fprintf(w, "Hello, UOR! \nThis is endpoint 2\n")
fmt.Fprintf(w, "Hello, Folks! \nThis is endpoint 2\n")
})



fmt.Println("Starting UOR API Server...")
fmt.Println("Starting Folks API Server...")
fmt.Println("Listening on :8080")
http.ListenAndServe(":8080", nil)
}

0 comments on commit 683b59e

Please sign in to comment.