example

package module
v0.0.0-...-bc83d24 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2022 License: MIT Imports: 3 Imported by: 0

README

Example

GO Package having an example function that returns "Hello, World!"

Dev / Run locally

FUNCTION_TARGET=HelloWorld go run cmd/main.go or execute the VSCode task "Launch Sheet Validator"

Deploy

gcloud functions deploy HelloWorld --runtime go116 --trigger-http

Principles

This is a separate folder, per Google instructions: "Where possible, we recommend splitting up large multi-function codebases and putting each function in its own top-level directory as shown above, with its own source and project configuration files. This approach minimizes the number of dependencies required for a particular function, which in turn reduces the amount of memory your function needs." https://cloud.google.com/functions/docs/writing#directory-structure-go

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL