Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions serving/samples/helloworld-clojure/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Hello World - Clojure sample

A simple web app written in Clojure that you can use for testing.
It reads in an env variable `TARGET` and prints "Hello World: ${TARGET}!". If
TARGET is not specified, it will use "NOT SPECIFIED" as the TARGET.
It reads in an env variable `TARGET` and prints "Hello ${TARGET}!". If
TARGET is not specified, it will use "World" as the TARGET.

## Prerequisites

Expand All @@ -29,10 +29,10 @@ following instructions recreate the source files from this folder.
(defn handler [request]
{:status 200
:headers {"Content-Type" "text/html"}
:body (str "Hello World: "
:body (str "Hello "
(if-let [target (System/getenv "TARGET")]
target
"NOT SPECIFIED")
"World")
"!\n")})

(defn -main [& args]
Expand Down
4 changes: 2 additions & 2 deletions serving/samples/helloworld-clojure/src/helloworld/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
(defn handler [request]
{:status 200
:headers {"Content-Type" "text/html"}
:body (str "Hello World: "
:body (str "Hello "
(if-let [target (System/getenv "TARGET")]
target
"NOT SPECIFIED")
"World")
"!\n")})

(defn -main [& args]
Expand Down
4 changes: 2 additions & 2 deletions serving/samples/helloworld-csharp/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Hello World - .NET Core sample

A simple web app written in C# using .NET Core 2.1 that you can use for testing.
It reads in an env variable `TARGET` and prints "Hello World: ${TARGET}!". If
TARGET is not specified, it will use "NOT SPECIFIED" as the TARGET.
It reads in an env variable `TARGET` and prints "Hello ${TARGET}!". If
TARGET is not specified, it will use "World" as the TARGET.

## Prerequisites

Expand Down
4 changes: 2 additions & 2 deletions serving/samples/helloworld-go/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Hello World - Go sample

A simple web app written in Go that you can use for testing.
It reads in an env variable `TARGET` and prints "Hello World: ${TARGET}!". If
TARGET is not specified, it will use "NOT SPECIFIED" as the TARGET.
It reads in an env variable `TARGET` and prints "Hello ${TARGET}!". If
TARGET is not specified, it will use "World" as the TARGET.

## Prerequisites

Expand Down
4 changes: 2 additions & 2 deletions serving/samples/helloworld-haskell/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Hello World - Haskell sample

A simple web app written in Haskell that you can use for testing.
It reads in an env variable `TARGET` and prints "Hello World: ${TARGET}!". If
TARGET is not specified, it will use "NOT SPECIFIED" as the TARGET.
It reads in an env variable `TARGET` and prints "Hello ${TARGET}!". If
TARGET is not specified, it will use "World" as the TARGET.

## Prerequisites

Expand Down
4 changes: 2 additions & 2 deletions serving/samples/helloworld-java/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Hello World - Spring Boot Java sample

A simple web app written in Java using Spring Boot 2.0 that you can use for testing.
It reads in an env variable `TARGET` and prints "Hello World: ${TARGET}!". If
TARGET is not specified, it will use "NOT SPECIFIED" as the TARGET.
It reads in an env variable `TARGET` and prints "Hello ${TARGET}!". If
TARGET is not specified, it will use "World" as the TARGET.

## Prerequisites

Expand Down
4 changes: 2 additions & 2 deletions serving/samples/helloworld-nodejs/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Hello World - Node.js sample

A simple web app written in Node.js that you can use for testing.
It reads in an env variable `TARGET` and prints "Hello World: ${TARGET}!". If
TARGET is not specified, it will use "NOT SPECIFIED" as the TARGET.
It reads in an env variable `TARGET` and prints "Hello ${TARGET}!". If
TARGET is not specified, it will use "World" as the TARGET.

## Prerequisites

Expand Down
4 changes: 2 additions & 2 deletions serving/samples/helloworld-php/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Hello World - PHP sample

A simple web app written in PHP that you can use for testing.
It reads in an env variable `TARGET` and prints "Hello World: ${TARGET}". If
TARGET is not specified, it will use "NOT SPECIFIED" as the TARGET.
It reads in an env variable `TARGET` and prints "Hello ${TARGET}!". If
TARGET is not specified, it will use "World" as the TARGET.

## Prerequisites

Expand Down
4 changes: 2 additions & 2 deletions serving/samples/helloworld-python/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Hello World - Python sample

A simple web app written in Python that you can use for testing.
It reads in an env variable `TARGET` and prints "Hello World: ${TARGET}!". If
TARGET is not specified, it will use "NOT SPECIFIED" as the TARGET.
It reads in an env variable `TARGET` and prints "Hello ${TARGET}!". If
TARGET is not specified, it will use "World" as the TARGET.

## Prerequisites

Expand Down
4 changes: 2 additions & 2 deletions serving/samples/helloworld-ruby/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Hello World - Ruby sample

A simple wenb app written in Ruby that you can use for testing.
It reads in an env variable `TARGET` and prints "Hello World: ${TARGET}!". If
TARGET is not specified, it will use "NOT SPECIFIED" as the TARGET.
It reads in an env variable `TARGET` and prints "Hello ${TARGET}!". If
TARGET is not specified, it will use "World" as the TARGET.

## Prerequisites

Expand Down
4 changes: 2 additions & 2 deletions serving/samples/helloworld-rust/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Hello World - Rust sample

A simple web app written in Rust that you can use for testing.
It reads in an env variable `TARGET` and prints "Hello World: ${TARGET}!". If
TARGET is not specified, it will use "NOT SPECIFIED" as the TARGET.
It reads in an env variable `TARGET` and prints "Hello ${TARGET}!". If
TARGET is not specified, it will use "World" as the TARGET.

## Prerequisites

Expand Down