go_function_template

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

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

Go to latest
Published: Dec 30, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

README

Go Function

This function was generated using the `agilefoxHQ/go-template-function repository. It is a Google Cloud Function written in Go 1.19 with some bootstrapping code provided for a sample deploy pipeline.

It also has a main package for local testing using Google Functions Framework.

The main function in this template is an HTTP function, please refer to https://cloud.google.com/functions/docs/concepts/events-triggers to adapt your function.

Changes to make
  • Change function name
  • Change the workflow yaml files to reflect the right flag values in the Deploy to GCP Functions step.
  • Update README

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoThatThing

func DoThatThing(w http.ResponseWriter, r *http.Request)

DoThatThing gets invoked by the HTTP trigger described in https://cloud.google.com/functions/docs/calling

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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