Skip to content

Commit

Permalink
Add welcome message to point users at Go modules
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
  • Loading branch information
alexellis committed Oct 15, 2020
1 parent 973f944 commit d48ad24
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 0 deletions.
10 changes: 10 additions & 0 deletions template/golang-http-armhf/template.yml
@@ -1,2 +1,12 @@
language: golang-http
fprocess: ./handler
welcome_message: |
You have created a new function which uses Golang 1.13.
To include third-party dependencies, use Go modules and use
"--build-arg GO111MODULE=on" with faas-cli build or configure this
via your stack.yml file.
See more: https://docs.openfaas.com/cli/templates/
For detailed examples:
https://github.com/openfaas-incubator/golang-http-template
10 changes: 10 additions & 0 deletions template/golang-http/template.yml
@@ -1,2 +1,12 @@
language: golang-http
fprocess: ./handler
welcome_message: |
You have created a new function which uses Golang 1.13.
To include third-party dependencies, use Go modules and use
"--build-arg GO111MODULE=on" with faas-cli build or configure this
via your stack.yml file.
See more: https://docs.openfaas.com/cli/templates/
For detailed examples:
https://github.com/openfaas-incubator/golang-http-template
10 changes: 10 additions & 0 deletions template/golang-middleware-armhf/template.yml
@@ -1,2 +1,12 @@
language: golang-middleware-armhf
fprocess: ./handler
welcome_message: |
You have created a new function which uses Golang 1.13.
To include third-party dependencies, use Go modules and use
"--build-arg GO111MODULE=on" with faas-cli build or configure this
via your stack.yml file.
See more: https://docs.openfaas.com/cli/templates/
For detailed examples:
https://github.com/openfaas-incubator/golang-http-template
10 changes: 10 additions & 0 deletions template/golang-middleware/template.yml
@@ -1,2 +1,12 @@
language: golang-middleware
fprocess: ./handler
welcome_message: |
You have created a new function which uses Golang 1.13.
To include third-party dependencies, use Go modules and use
"--build-arg GO111MODULE=on" with faas-cli build or configure this
via your stack.yml file.
See more: https://docs.openfaas.com/cli/templates/
For detailed examples:
https://github.com/openfaas-incubator/golang-http-template

0 comments on commit d48ad24

Please sign in to comment.