Golang News http://golangnews.com Jobs, Code, Videos and News for Go hackers - everything about the go programming language Sat, 24 Feb 2018 09:00:00 +0000 Measuring progress and estimating time remaining of long running io.Reader #io Whenever we use helpers like io.Copy and ioutil.ReadAll like when we are reading from an http.Response body or uploading a file, we find that these methods block until the process is complete, even… 11 points posted by kenny https://blog.machinebox.io/measuring-the-progress-of-long-running-io-reader-and-io-writer-operations-in-go-ba26b204a507 3066 Tue, 02 Jan 2018 14:55:00 +0000 Cross Compiling Golang Applications for Use on a Raspberry Pi #iot 10 points posted by nraboy https://www.thepolyglotdeveloper.com/2017/04/cross-compiling-golang-applications-raspberry-pi 2144 Fri, 28 Apr 2017 17:57:00 +0000 storekit-go - StoreKit client for querying App Store's StoreKit API #ios #mobile 5 points posted by kenny https://github.com/Gurpartap/storekit-go 3491 Thu, 09 Aug 2018 16:36:00 +0000 co2monitor - a CO₂ & temperature monitor #iot <p>Some time ago an <a href="https://blog.wooga.com/woogas-office-weather-wow-67e24a5338" rel="nofollow" style="box-sizing: border-box; color: rgb(3, 102, 214);">article</a>&nbsp;about a low cost CO₂ monitor came to our attention. A colleague quickly adopted the python <a href="https://github.com/wooga/office_weather" style="box-sizing: border-box; color: rgb(3, 102, 214);">code</a>&nbsp;to fit in our prometheus setup. Since humans are sensitive to temperature and CO₂ level, we were now able to optimize HVAC settings in our office (Well, we mainly complained to our facility management).</p> <p>For numerous reasons I wanted to replace the python code with a static Go binary.</p> <h2><a href="https://github.com/larsp/co2monitor#hardware" aria-hidden="true" class="anchor" id="user-content-hardware" style="box-sizing: border-box; color: rgb(3, 102, 214); float: left; padding-right: 4px; margin-left: -20px; line-height: 1;"><svg aria-hidden="true" class="octicon octicon-link" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a></h2> 4 points posted by kenny https://github.com/larsp/co2monitor 3129 Sun, 21 Jan 2018 00:10:00 +0000 Wireless no batteries IoT button in go #iot 4 points posted by crux http://artcom.github.io/wireless-no-batteries-iot-button-in-go-and-ruby 2151 Sun, 30 Apr 2017 12:33:00 +0000