Add the Go equivalent of [https://github.com/apache/beam/blob/master/examples/java/src/main/java/org/apache/beam/examples/cookbook/DistinctExample.java](https://github.com/apache/beam/blob/master/examples/java/src/main/java/org/apache/beam/examples/cookbook/DistinctExample.java) Imported from Jira [BEAM-3532](https://issues.apache.org/jira/browse/BEAM-3532). Original Jira may contain additional context. Reported by: herohde.