<?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 SCL Blog</title>
    <link>https://silocitylabs.com/categories/golang/</link>
    <description>Recent content in Golang on SCL Blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <managingEditor>team@silocitylabs.com (Silo City Labs)</managingEditor>
    <webMaster>team@silocitylabs.com (Silo City Labs)</webMaster>
    <lastBuildDate>Wed, 14 Aug 2019 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://silocitylabs.com/categories/golang/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Quick Monitor and Restart in Golang</title>
      <link>https://silocitylabs.com/2019/08/14/quick-monitor-restart-golang/</link>
      <pubDate>Wed, 14 Aug 2019 00:00:00 +0000</pubDate><author>team@silocitylabs.com (Silo City Labs)</author>
      <guid>https://silocitylabs.com/2019/08/14/quick-monitor-restart-golang/</guid>
      <description>Go Applications On my desktop I was running a processing script that would occasionally hang at high CPU, so I wrote a quick script to monitor it and restart it. You can see it below and change it as needed.&#xA;Run it like so after compiling to a binary&#xA;nohup ./restart &amp;amp; The code&#xA;package main import ( &amp;#34;fmt&amp;#34; &amp;#34;io/ioutil&amp;#34; &amp;#34;log&amp;#34; &amp;#34;os/exec&amp;#34; &amp;#34;runtime&amp;#34; &amp;#34;strconv&amp;#34; &amp;#34;strings&amp;#34; &amp;#34;time&amp;#34; ) func getCPUSample() (idle, total uint64) { contents, err := ioutil.</description>
    </item>
    <item>
      <title>Getting Started with Golang</title>
      <link>https://silocitylabs.com/2019/06/24/getting-started-with-golang/</link>
      <pubDate>Mon, 24 Jun 2019 00:00:00 +0000</pubDate><author>team@silocitylabs.com (Silo City Labs)</author>
      <guid>https://silocitylabs.com/2019/06/24/getting-started-with-golang/</guid>
      <description>Go Applications A Go app can vary from 3 to millions of lines of code. They should also be written with one or multiple files with the extension .go You can use any text editor to write a Go program like nano, but our favorite and most supported is Visual Studio Code.&#xA;Setting up a Go Environment For all of our tutorials we will be using VSCode to help us ease into the language.</description>
    </item>
    <item>
      <title>What can golang do?</title>
      <link>https://silocitylabs.com/post/2019/06/06/what-can-golang-do/</link>
      <pubDate>Thu, 06 Jun 2019 20:00:28 +0000</pubDate><author>team@silocitylabs.com (Silo City Labs)</author>
      <guid>https://silocitylabs.com/post/2019/06/06/what-can-golang-do/</guid>
      <description>&lt;p&gt;Nothing makes a developer crazier than a new programming language, right? So, I started learning Go about 6 months ago and now I am going to share with you my reasons for doing so.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
