damondouglas commented on a change in pull request #11564:
URL: https://github.com/apache/beam/pull/11564#discussion_r419141964



##########
File path: learning/katas/go/Core Transforms/Map/ParDo/pkg/task/task.go
##########
@@ -18,8 +18,9 @@ package task
 import "github.com/apache/beam/sdks/go/pkg/beam"
 
 func ApplyTransform(s beam.Scope, input beam.PCollection) beam.PCollection {
-       processFn := func(element int) int {
-               return element * 10
-       }
-       return beam.ParDo(s, processFn, input)
+       return beam.ParDo(s, multiplyBy10Fn, input)
 }
+
+func multiplyBy10Fn(element int) int {
+       return element * 10

Review comment:
       What's odd is that I saw the following when testing the course in both 
IntelliJ and Goland:
   
   <img width="647" alt="Screen Shot 2020-05-03 at 11 25 01 AM" 
src="https://user-images.githubusercontent.com/762456/80922441-092c4980-8d32-11ea-9796-a8d0e0ede524.png";>
   




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to