[
https://issues.apache.org/jira/browse/BEAM-14513?focusedWorklogId=776930&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-776930
]
ASF GitHub Bot logged work on BEAM-14513:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 01/Jun/22 15:03
Start Date: 01/Jun/22 15:03
Worklog Time Spent: 10m
Work Description: lnogueir commented on PR #17748:
URL: https://github.com/apache/beam/pull/17748#issuecomment-1143726166
> I suspect that you're getting staticcheck errors that aren't being
outputted in the logs for one reason or another. Can you try running
staticcheck on your code manually, as follows?
>
> ```
> go install "honnef.co/go/tools/cmd/[email protected]"
> cd sdks/go/pkg/beam
> $(go env GOPATH)/bin/staticcheck ./...
> ```
Ok, it's something caused by my code. The output was:
```
io/fhirio/read.go:59:39: should use time.Since instead of time.Now().Sub
(S1012)
```
Updated this right now and will make sure to run the static check locally in
the future.
Issue Time Tracking
-------------------
Worklog Id: (was: 776930)
Time Spent: 4h (was: 3h 50m)
> Add Read transform and initial HealthcareClient in Go SDK
> ---------------------------------------------------------
>
> Key: BEAM-14513
> URL: https://issues.apache.org/jira/browse/BEAM-14513
> Project: Beam
> Issue Type: Improvement
> Components: io-go-gcp
> Reporter: Lucas Nogueira
> Assignee: Lucas Nogueira
> Priority: P2
> Time Spent: 4h
> Remaining Estimate: 0h
>
> This is the first of many tickets to bring
> [FhirIO|https://github.com/apache/beam/blob/master/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/healthcare/FhirIO.java]
> from Java into the Go SDK.
> It consists of:
> * Adding the
> [Read|https://github.com/apache/beam/blob/3e683606d9a03e7da3d37a83eb16c3a6b96068cd/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/healthcare/FhirIO.java#L455]
> transform in Go SDK
> * Adding a basic implementation of the
> [HttpHealthcareClient|https://github.com/apache/beam/blob/master/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/healthcare/HttpHealthcareApiClient.java]
> in Go, to be able to authenticate and make the requests needed for the
> transform above.
> Buganizer links:
> - [b/233887489|https://b.corp.google.com/issues/233887489].
> - [b/204355275|https://buganizer.corp.google.com/issues/204355275].
--
This message was sent by Atlassian Jira
(v8.20.7#820007)