GoogleCloudPlatform / golang-samples

Sample apps and code written for Google Cloud in the Go programming language.
Apache License 2.0
4.32k stars 1.75k forks source link

fix: wordcount.go - register DoFns with the the beam/register package #4304

Closed subfuzion closed 3 months ago

subfuzion commented 3 months ago

Fixes failing wordcount.go

failed to decode userfn
            caused by:
        github.com/GoogleCloudPlatform/golang-samples/dataflow/flex-templates/wordcount.formatFn not found. Register DoFns and functions with the the beam/register package.
2024/08/05 18:32:20 ERROR ProcessBundle failed:     invalid bundle desc: stage-004