<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Golang on Nyghtowl</title>
    <link>https://nyghtowl.com/tags/golang/</link>
    <description>Recent content in Golang on Nyghtowl</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <copyright>&lt;a href=&#34;https://creativecommons.org/licenses/by-nc-sa/4.0/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;CC BY-NC-SA 4.0&lt;/a&gt;</copyright>
    <lastBuildDate>Mon, 14 Sep 2020 23:44:13 +0000</lastBuildDate>
    <atom:link href="https://nyghtowl.com/tags/golang/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Golang | Copy to GCS &amp; Check Bucket</title>
      <link>https://nyghtowl.com/posts/2020/09/golang-copy-to-gcs-check-bucket/</link>
      <pubDate>Mon, 14 Sep 2020 23:44:13 +0000</pubDate>
      <guid>https://nyghtowl.com/posts/2020/09/golang-copy-to-gcs-check-bucket/</guid>
      <description>&lt;h3 id=&#34;golang--copy-to-gcs--checkbucket&#34;&gt;Golang | Copy to GCS &amp;amp; Check Bucket&lt;/h3&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://nyghtowl.com/posts/2020/09/golang-copy-to-gcs-check-bucket/img-01.png&#34; alt=&#34;&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;Are you trying to use Go to get files into Google Cloud Storage without pulling them onto the computer that is running the code or open them and read the contents into a new file? If yes, so was I not long ago. Here is a quick PSA to share the code I put together to solve this.&lt;/p&gt;&#xA;&lt;h3 id=&#34;copy-files-togcs&#34;&gt;Copy Files to GCS&lt;/h3&gt;&#xA;&lt;p&gt;The following code example can get files from one url location into GCS without downloading it on the server running the code.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
