Go is supported in Google functions

・1 min read

Now we can use Go to run google functions =). Take a look an example:

// Package helloworld provides a set of Cloud Function samples.
package helloworld

import (

// HelloGet is an HTTP Cloud Function.
func HelloGet(w http.ResponseWriter, r *http.Request) {
        fmt.Fprint(w, "Hello, World!")


gcloud functions deploy HelloGet --runtime go111 --trigger-http


Thanks for this posting! Meant to try this out yesterday and forgot all about it.


I'm excited to test more too =).
I want to write a tutorial showing how to create an endpoint, test and deploy using gitlab-ci

Classic DEV Post from Jul 15 '18

Git and Github - must know commands to make your first commit

Here is a list of some important github commands with an explanation of what they do and when to use them.

I'm a 🇧🇷 software engineer living in 🇳🇱 who loves code, learn and share.

DEV is a social network for software developers to level up their craft. It's free and it's fully open source.

Sign up