From e1b53be21f82861f19898dc92559bfb370f29001 Mon Sep 17 00:00:00 2001 From: EwenQuim Date: Thu, 8 Feb 2024 17:38:49 +0100 Subject: [PATCH] docs: replaces simple-crud references by full-app-gourmet --- Makefile | 4 ++-- README.md | 2 +- documentation/docs/tutorials/rendering/templ.md | 2 +- examples/full-app-gourmet/.gitignore | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 690d1c96..0e83d8ef 100644 --- a/Makefile +++ b/Makefile @@ -30,10 +30,10 @@ lint: go run github.com/golangci/golangci-lint/cmd/golangci-lint@latest run example: - ( cd examples/simple-crud && go run . -debug ) + ( cd examples/full-app-gourmet && go run . -debug ) example-watch: - ( cd examples/simple-crud && air -- -debug ) + ( cd examples/full-app-gourmet && air -- -debug ) # Documentation website docs: diff --git a/README.md b/README.md index 8be897d6..d1484752 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ The only Go framework generating OpenAPI documentation from code. Inspired by Nest, built for Go developers. -Also empowers `html/template`, `a-h/templ` and `maragudk/gomponents`: see [the example](./examples/simple-crud) - actually running [in prod](https://gourmet.quimerch.com)! +Also empowers `html/template`, `a-h/templ` and `maragudk/gomponents`: see [the example](./examples/full-app-gourmet) - actually running [in prod](https://gourmet.quimerch.com)! ## Why Fuego? diff --git a/documentation/docs/tutorials/rendering/templ.md b/documentation/docs/tutorials/rendering/templ.md index f03ee3fc..8dfcaea3 100644 --- a/documentation/docs/tutorials/rendering/templ.md +++ b/documentation/docs/tutorials/rendering/templ.md @@ -4,7 +4,7 @@ Fuego supports templating with [Templ](https://github.com/a-h/templ). Simply return a Templ component from your handler, with the `fuego.Templ` return type. -Example from [a recipe app](https://github.com/go-fuego/fuego/tree/main/examples/simple-crud): +Example from [a recipe app](https://github.com/go-fuego/fuego/tree/main/examples/full-app-gourmet): ```go // highlight-next-line diff --git a/examples/full-app-gourmet/.gitignore b/examples/full-app-gourmet/.gitignore index a8021eb6..a54b5b7b 100644 --- a/examples/full-app-gourmet/.gitignore +++ b/examples/full-app-gourmet/.gitignore @@ -1,4 +1,4 @@ -simple-crud +full-app-gourmet docs .vscode tmp