From 85805ce147b14b31d88d8c3e00eb42528e61d9c8 Mon Sep 17 00:00:00 2001 From: Chrstopher Hunter <8398225+crhntr@users.noreply.github.com> Date: Tue, 21 Jan 2025 23:42:56 -0800 Subject: [PATCH] fix generated readme --- README.md | 3 ++- cmd/generate-readme/README.md.template | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8d593c8..164202b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # Muxt [![Go Reference](https://pkg.go.dev/badge/github.com/crhntr/muxt.svg)](https://pkg.go.dev/github.com/crhntr/muxt) [![Go](https://github.com/crhntr/muxt/actions/workflows/go.yml/badge.svg)](https://github.com/crhntr/muxt/actions/workflows/go.yml) -Since Go 1.22, the standard library route **mu**ltiple**x**er [`*http.ServeMux`](https://pkg.go.dev/net/http#ServeMux) uses http methods, hosts, and path parameters. Muxt extends this syntax to add method signatures and type static analysis based template type safety tp make it faster to write and test server side rendered hypermedia web applications. +Since Go 1.22, the standard library route **mu**ltiple**x**er [`*http.ServeMux`](https://pkg.go.dev/net/http#ServeMux) uses http methods, hosts, and path parameters. +Muxt extends this syntax to add method signatures and type static analysis based template type safety tp make it faster to write and test server side rendered hypermedia web applications. Muxt generates Go code. It does not require you to add any dependencies outside the Go standard library. diff --git a/cmd/generate-readme/README.md.template b/cmd/generate-readme/README.md.template index 08087ab..365ccef 100644 --- a/cmd/generate-readme/README.md.template +++ b/cmd/generate-readme/README.md.template @@ -1,7 +1,7 @@ # Muxt [![Go Reference](https://pkg.go.dev/badge/github.com/crhntr/muxt.svg)](https://pkg.go.dev/github.com/crhntr/muxt) [![Go](https://github.com/crhntr/muxt/actions/workflows/go.yml/badge.svg)](https://github.com/crhntr/muxt/actions/workflows/go.yml) -Sometimes as a developer it is nice to stay in an HTML headspace. This Go code generator helps you do that. -It also provides a nice test seam between your http and endpoint handlers. +Since Go 1.22, the standard library route **mu**ltiple**x**er [`*http.ServeMux`](https://pkg.go.dev/net/http#ServeMux) uses http methods, hosts, and path parameters. +Muxt extends this syntax to add method signatures and type static analysis based template type safety tp make it faster to write and test server side rendered hypermedia web applications. Muxt generates Go code. It does not require you to add any dependencies outside the Go standard library.