_content/solutions: prioritize net/http in http routers
Place the standard library first, especially now that it has advanced
routing capabilities.
Change-Id: I60b9ccde84f4c6c1218aaa4a88e3010bd3940ad3
Reviewed-on: https://go-review.googlesource.com/c/website/+/620676
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
diff --git a/_content/solutions/cloud.md b/_content/solutions/cloud.md
index 94d71b6..282235d 100644
--- a/_content/solutions/cloud.md
+++ b/_content/solutions/cloud.md
@@ -168,6 +168,9 @@
- title: Routers
viewMoreUrl: https://pkg.go.dev/search?q=http%20router
items:
+ - text: net/http
+ url: https://pkg.go.dev/net/http
+ desc: A standard library HTTP package
- text: julienschmidt/httprouter
url: https://pkg.go.dev/github.com/julienschmidt/httprouter?tab=overview
desc: A lightweight high performance HTTP request router
@@ -177,9 +180,6 @@
- text: Chi
url: https://pkg.go.dev/github.com/go-chi/chi?tab=overview
desc: A lightweight, idiomatic and composable router for building Go HTTP services.
- - text: net/http
- url: https://pkg.go.dev/net/http
- desc: A standard library HTTP package
- title: Template Engines
viewMoreUrl: https://pkg.go.dev/search?q=templates
items:
diff --git a/_content/solutions/webdev.md b/_content/solutions/webdev.md
index 2e40416..071fa05 100644
--- a/_content/solutions/webdev.md
+++ b/_content/solutions/webdev.md
@@ -142,6 +142,9 @@
- title: Routers
viewMoreUrl: https://pkg.go.dev/search?q=http%20router
items:
+ - text: net/http
+ url: https://pkg.go.dev/net/http
+ desc: A standard library HTTP package
- text: julienschmidt/httprouter
url: https://pkg.go.dev/github.com/julienschmidt/httprouter?tab=overview
desc: A lightweight high performance HTTP request router
@@ -151,9 +154,6 @@
- text: Chi
url: https://pkg.go.dev/github.com/go-chi/chi?tab=overview
desc: A lightweight, idiomatic and composable router for building Go HTTP services.
- - text: net/http
- url: https://pkg.go.dev/net/http
- desc: A standard library HTTP package
- title: Template Engines
viewMoreUrl: https://pkg.go.dev/search?q=templates
items: