From 63262b2311720cabd9f55432183634fad8860ccf Mon Sep 17 00:00:00 2001 From: Vishal Rana Date: Mon, 9 Jan 2017 20:23:57 -0800 Subject: [PATCH] Recipes => examples Signed-off-by: Vishal Rana --- {recipe => examples}/auto-tls/server.go | 0 {recipe => examples}/cors/server.go | 0 {recipe => examples}/crud/server.go | 0 {recipe => examples}/embed-resources/.gitignore | 0 {recipe => examples}/embed-resources/app/index.html | 0 {recipe => examples}/embed-resources/app/main.js | 0 {recipe => examples}/embed-resources/server.go | 0 .../file-upload/multiple/public/index.html | 0 {recipe => examples}/file-upload/multiple/server.go | 0 .../file-upload/single/public/index.html | 0 {recipe => examples}/file-upload/single/server.go | 0 {recipe => examples}/google-app-engine/Dockerfile | 0 .../google-app-engine/app-engine.go | 0 .../google-app-engine/app-engine.yaml | 0 .../google-app-engine/app-managed.go | 0 .../google-app-engine/app-managed.yaml | 0 .../google-app-engine/app-standalone.go | 0 {recipe => examples}/google-app-engine/app.go | 0 .../google-app-engine/public/favicon.ico | Bin .../google-app-engine/public/index.html | 0 .../google-app-engine/public/scripts/main.js | 0 .../google-app-engine/templates/welcome.html | 0 {recipe => examples}/google-app-engine/users.go | 0 {recipe => examples}/google-app-engine/welcome.go | 0 {recipe => examples}/graceful-shutdown/server.go | 0 {recipe => examples}/hello-world/server.go | 0 {recipe => examples}/http2/cert.pem | 0 {recipe => examples}/http2/key.pem | 0 {recipe => examples}/http2/server.go | 0 {recipe => examples}/jsonp/public/index.html | 0 {recipe => examples}/jsonp/server.go | 0 {recipe => examples}/jwt/custom-claims/server.go | 0 {recipe => examples}/jwt/map-claims/server.go | 0 {recipe => examples}/middleware/server.go | 0 {recipe => examples}/streaming-response/server.go | 0 {recipe => examples}/subdomains/server.go | 0 {recipe => examples}/twitter/handler/handler.go | 0 {recipe => examples}/twitter/handler/post.go | 0 {recipe => examples}/twitter/handler/user.go | 0 {recipe => examples}/twitter/model/post.go | 0 {recipe => examples}/twitter/model/user.go | 0 {recipe => examples}/twitter/server.go | 0 {recipe => examples}/websocket/gorilla/server.go | 0 {recipe => examples}/websocket/net/server.go | 0 {recipe => examples}/websocket/public/index.html | 0 website/layouts/shortcodes/embed.html | 2 +- website/layouts/shortcodes/source.html | 2 +- 47 files changed, 2 insertions(+), 2 deletions(-) rename {recipe => examples}/auto-tls/server.go (100%) rename {recipe => examples}/cors/server.go (100%) rename {recipe => examples}/crud/server.go (100%) rename {recipe => examples}/embed-resources/.gitignore (100%) rename {recipe => examples}/embed-resources/app/index.html (100%) rename {recipe => examples}/embed-resources/app/main.js (100%) rename {recipe => examples}/embed-resources/server.go (100%) rename {recipe => examples}/file-upload/multiple/public/index.html (100%) rename {recipe => examples}/file-upload/multiple/server.go (100%) rename {recipe => examples}/file-upload/single/public/index.html (100%) rename {recipe => examples}/file-upload/single/server.go (100%) rename {recipe => examples}/google-app-engine/Dockerfile (100%) rename {recipe => examples}/google-app-engine/app-engine.go (100%) rename {recipe => examples}/google-app-engine/app-engine.yaml (100%) rename {recipe => examples}/google-app-engine/app-managed.go (100%) rename {recipe => examples}/google-app-engine/app-managed.yaml (100%) rename {recipe => examples}/google-app-engine/app-standalone.go (100%) rename {recipe => examples}/google-app-engine/app.go (100%) rename {recipe => examples}/google-app-engine/public/favicon.ico (100%) rename {recipe => examples}/google-app-engine/public/index.html (100%) rename {recipe => examples}/google-app-engine/public/scripts/main.js (100%) rename {recipe => examples}/google-app-engine/templates/welcome.html (100%) rename {recipe => examples}/google-app-engine/users.go (100%) rename {recipe => examples}/google-app-engine/welcome.go (100%) rename {recipe => examples}/graceful-shutdown/server.go (100%) rename {recipe => examples}/hello-world/server.go (100%) rename {recipe => examples}/http2/cert.pem (100%) rename {recipe => examples}/http2/key.pem (100%) rename {recipe => examples}/http2/server.go (100%) rename {recipe => examples}/jsonp/public/index.html (100%) rename {recipe => examples}/jsonp/server.go (100%) rename {recipe => examples}/jwt/custom-claims/server.go (100%) rename {recipe => examples}/jwt/map-claims/server.go (100%) rename {recipe => examples}/middleware/server.go (100%) rename {recipe => examples}/streaming-response/server.go (100%) rename {recipe => examples}/subdomains/server.go (100%) rename {recipe => examples}/twitter/handler/handler.go (100%) rename {recipe => examples}/twitter/handler/post.go (100%) rename {recipe => examples}/twitter/handler/user.go (100%) rename {recipe => examples}/twitter/model/post.go (100%) rename {recipe => examples}/twitter/model/user.go (100%) rename {recipe => examples}/twitter/server.go (100%) rename {recipe => examples}/websocket/gorilla/server.go (100%) rename {recipe => examples}/websocket/net/server.go (100%) rename {recipe => examples}/websocket/public/index.html (100%) diff --git a/recipe/auto-tls/server.go b/examples/auto-tls/server.go similarity index 100% rename from recipe/auto-tls/server.go rename to examples/auto-tls/server.go diff --git a/recipe/cors/server.go b/examples/cors/server.go similarity index 100% rename from recipe/cors/server.go rename to examples/cors/server.go diff --git a/recipe/crud/server.go b/examples/crud/server.go similarity index 100% rename from recipe/crud/server.go rename to examples/crud/server.go diff --git a/recipe/embed-resources/.gitignore b/examples/embed-resources/.gitignore similarity index 100% rename from recipe/embed-resources/.gitignore rename to examples/embed-resources/.gitignore diff --git a/recipe/embed-resources/app/index.html b/examples/embed-resources/app/index.html similarity index 100% rename from recipe/embed-resources/app/index.html rename to examples/embed-resources/app/index.html diff --git a/recipe/embed-resources/app/main.js b/examples/embed-resources/app/main.js similarity index 100% rename from recipe/embed-resources/app/main.js rename to examples/embed-resources/app/main.js diff --git a/recipe/embed-resources/server.go b/examples/embed-resources/server.go similarity index 100% rename from recipe/embed-resources/server.go rename to examples/embed-resources/server.go diff --git a/recipe/file-upload/multiple/public/index.html b/examples/file-upload/multiple/public/index.html similarity index 100% rename from recipe/file-upload/multiple/public/index.html rename to examples/file-upload/multiple/public/index.html diff --git a/recipe/file-upload/multiple/server.go b/examples/file-upload/multiple/server.go similarity index 100% rename from recipe/file-upload/multiple/server.go rename to examples/file-upload/multiple/server.go diff --git a/recipe/file-upload/single/public/index.html b/examples/file-upload/single/public/index.html similarity index 100% rename from recipe/file-upload/single/public/index.html rename to examples/file-upload/single/public/index.html diff --git a/recipe/file-upload/single/server.go b/examples/file-upload/single/server.go similarity index 100% rename from recipe/file-upload/single/server.go rename to examples/file-upload/single/server.go diff --git a/recipe/google-app-engine/Dockerfile b/examples/google-app-engine/Dockerfile similarity index 100% rename from recipe/google-app-engine/Dockerfile rename to examples/google-app-engine/Dockerfile diff --git a/recipe/google-app-engine/app-engine.go b/examples/google-app-engine/app-engine.go similarity index 100% rename from recipe/google-app-engine/app-engine.go rename to examples/google-app-engine/app-engine.go diff --git a/recipe/google-app-engine/app-engine.yaml b/examples/google-app-engine/app-engine.yaml similarity index 100% rename from recipe/google-app-engine/app-engine.yaml rename to examples/google-app-engine/app-engine.yaml diff --git a/recipe/google-app-engine/app-managed.go b/examples/google-app-engine/app-managed.go similarity index 100% rename from recipe/google-app-engine/app-managed.go rename to examples/google-app-engine/app-managed.go diff --git a/recipe/google-app-engine/app-managed.yaml b/examples/google-app-engine/app-managed.yaml similarity index 100% rename from recipe/google-app-engine/app-managed.yaml rename to examples/google-app-engine/app-managed.yaml diff --git a/recipe/google-app-engine/app-standalone.go b/examples/google-app-engine/app-standalone.go similarity index 100% rename from recipe/google-app-engine/app-standalone.go rename to examples/google-app-engine/app-standalone.go diff --git a/recipe/google-app-engine/app.go b/examples/google-app-engine/app.go similarity index 100% rename from recipe/google-app-engine/app.go rename to examples/google-app-engine/app.go diff --git a/recipe/google-app-engine/public/favicon.ico b/examples/google-app-engine/public/favicon.ico similarity index 100% rename from recipe/google-app-engine/public/favicon.ico rename to examples/google-app-engine/public/favicon.ico diff --git a/recipe/google-app-engine/public/index.html b/examples/google-app-engine/public/index.html similarity index 100% rename from recipe/google-app-engine/public/index.html rename to examples/google-app-engine/public/index.html diff --git a/recipe/google-app-engine/public/scripts/main.js b/examples/google-app-engine/public/scripts/main.js similarity index 100% rename from recipe/google-app-engine/public/scripts/main.js rename to examples/google-app-engine/public/scripts/main.js diff --git a/recipe/google-app-engine/templates/welcome.html b/examples/google-app-engine/templates/welcome.html similarity index 100% rename from recipe/google-app-engine/templates/welcome.html rename to examples/google-app-engine/templates/welcome.html diff --git a/recipe/google-app-engine/users.go b/examples/google-app-engine/users.go similarity index 100% rename from recipe/google-app-engine/users.go rename to examples/google-app-engine/users.go diff --git a/recipe/google-app-engine/welcome.go b/examples/google-app-engine/welcome.go similarity index 100% rename from recipe/google-app-engine/welcome.go rename to examples/google-app-engine/welcome.go diff --git a/recipe/graceful-shutdown/server.go b/examples/graceful-shutdown/server.go similarity index 100% rename from recipe/graceful-shutdown/server.go rename to examples/graceful-shutdown/server.go diff --git a/recipe/hello-world/server.go b/examples/hello-world/server.go similarity index 100% rename from recipe/hello-world/server.go rename to examples/hello-world/server.go diff --git a/recipe/http2/cert.pem b/examples/http2/cert.pem similarity index 100% rename from recipe/http2/cert.pem rename to examples/http2/cert.pem diff --git a/recipe/http2/key.pem b/examples/http2/key.pem similarity index 100% rename from recipe/http2/key.pem rename to examples/http2/key.pem diff --git a/recipe/http2/server.go b/examples/http2/server.go similarity index 100% rename from recipe/http2/server.go rename to examples/http2/server.go diff --git a/recipe/jsonp/public/index.html b/examples/jsonp/public/index.html similarity index 100% rename from recipe/jsonp/public/index.html rename to examples/jsonp/public/index.html diff --git a/recipe/jsonp/server.go b/examples/jsonp/server.go similarity index 100% rename from recipe/jsonp/server.go rename to examples/jsonp/server.go diff --git a/recipe/jwt/custom-claims/server.go b/examples/jwt/custom-claims/server.go similarity index 100% rename from recipe/jwt/custom-claims/server.go rename to examples/jwt/custom-claims/server.go diff --git a/recipe/jwt/map-claims/server.go b/examples/jwt/map-claims/server.go similarity index 100% rename from recipe/jwt/map-claims/server.go rename to examples/jwt/map-claims/server.go diff --git a/recipe/middleware/server.go b/examples/middleware/server.go similarity index 100% rename from recipe/middleware/server.go rename to examples/middleware/server.go diff --git a/recipe/streaming-response/server.go b/examples/streaming-response/server.go similarity index 100% rename from recipe/streaming-response/server.go rename to examples/streaming-response/server.go diff --git a/recipe/subdomains/server.go b/examples/subdomains/server.go similarity index 100% rename from recipe/subdomains/server.go rename to examples/subdomains/server.go diff --git a/recipe/twitter/handler/handler.go b/examples/twitter/handler/handler.go similarity index 100% rename from recipe/twitter/handler/handler.go rename to examples/twitter/handler/handler.go diff --git a/recipe/twitter/handler/post.go b/examples/twitter/handler/post.go similarity index 100% rename from recipe/twitter/handler/post.go rename to examples/twitter/handler/post.go diff --git a/recipe/twitter/handler/user.go b/examples/twitter/handler/user.go similarity index 100% rename from recipe/twitter/handler/user.go rename to examples/twitter/handler/user.go diff --git a/recipe/twitter/model/post.go b/examples/twitter/model/post.go similarity index 100% rename from recipe/twitter/model/post.go rename to examples/twitter/model/post.go diff --git a/recipe/twitter/model/user.go b/examples/twitter/model/user.go similarity index 100% rename from recipe/twitter/model/user.go rename to examples/twitter/model/user.go diff --git a/recipe/twitter/server.go b/examples/twitter/server.go similarity index 100% rename from recipe/twitter/server.go rename to examples/twitter/server.go diff --git a/recipe/websocket/gorilla/server.go b/examples/websocket/gorilla/server.go similarity index 100% rename from recipe/websocket/gorilla/server.go rename to examples/websocket/gorilla/server.go diff --git a/recipe/websocket/net/server.go b/examples/websocket/net/server.go similarity index 100% rename from recipe/websocket/net/server.go rename to examples/websocket/net/server.go diff --git a/recipe/websocket/public/index.html b/examples/websocket/public/index.html similarity index 100% rename from recipe/websocket/public/index.html rename to examples/websocket/public/index.html diff --git a/website/layouts/shortcodes/embed.html b/website/layouts/shortcodes/embed.html index ed6f6dc5..995ae0b7 100644 --- a/website/layouts/shortcodes/embed.html +++ b/website/layouts/shortcodes/embed.html @@ -1 +1 @@ -

+

diff --git a/website/layouts/shortcodes/source.html b/website/layouts/shortcodes/source.html
index 35dbec7b..043c75e3 100644
--- a/website/layouts/shortcodes/source.html
+++ b/website/layouts/shortcodes/source.html
@@ -1 +1 @@
-https://github.com/labstack/echo/tree/master/recipe/{{ .Get 0 }}
+https://github.com/labstack/echo/tree/master/examples/{{ .Get 0 }}