On Monday, March 27, 2017 at 9:17:05 PM UTC+2, hunt wrote:
>
> Just wanted to know how can i achieve this.
>

What did you try?

Take a look at his function:
https://godoc.org/github.com/aws/aws-sdk-go/service/s3#GetObjectOutput 

The Body attribute of the resulting GetObjectOutput struct can be passed to 
json.NewDecoder:
https://godoc.org/encoding/json#NewDecoder

This will stream the data directly from S3 to the json decoder and your 
data shouldn't hit the disk.

Cheers,

Christian

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to