package
1.0.3
Repository: https://github.com/bennovw/firestruct.git
Documentation: pkg.go.dev

# Functions

MyCloudFunction is an example of how to use the firestruct package in a Google Cloud Function The cloud function would be triggered by a Cloud Event after a Firestore Document changed in a collection.

# Structs

MyStruct is a struct that will be used to unmarshal the Firestore Document embedded in the Cloud Event The struct tags are used to map the Firestore Document fields to the struct fields if they are different.