- Colorado
- https://patrick-reagan.com
Block or Report
Block or report reagent
Report abuse
Contact GitHub support about this user’s behavior. Learn more about reporting abuse.
Report abusePinned
-
nestjs-playground Public
A collection of sample Nest.js applications that demonstrate various techniques that go more in-depth than the official documentation.
TypeScript 1
-
1
# Custom HTTP Routing in Go
23## Basic Routing
45Responding to requests via simple route matching is built in to Go's [`net/http`](https://golang.org/pkg/net/http/) standard library package. Just register the path prefixes and callbacks you want invoked and then call the [`ListenAndServe`](https://golang.org/pkg/net/http/#ListenAndServe) to have the default request handler invoked on each request. For example:
-
-
93 contributions in the last year
We're celebrating 100 million developers!
Less
More