davidcavazos commented on code in PR #1:
URL: https://github.com/apache/beam-starter-go/pull/1#discussion_r899424744
##########
main.go:
##########
@@ -0,0 +1,44 @@
+package main
+
+import (
+ "context"
+ "flag"
+ "fmt"
+ "log"
+
+ "github.com/apache/beam/sdks/v2/go/pkg/beam"
+ "github.com/apache/beam/sdks/v2/go/pkg/beam/x/beamx"
+)
+
+var (
+ input_text = flag.String("input-text", "Default input text", "Input
text to print.")
+)
+
+type Result = struct {
+ Pipeline *beam.Pipeline
+ Scope beam.Scope
+ PCollection beam.PCollection
+}
+
+func my_pipeline(input_text string) Result {
+ beam.Init()
Review Comment:
Sounds good, moved.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]