Golang News http://golangnews.com Jobs, Code, Videos and News for Go hackers - everything about the go programming language Sat, 31 Mar 2018 10:48:00 +0000 Blog Post: Playing Around with BoltDB 14 points posted by zupzup https://zupzup.org/boltdb-example 2106 Thu, 20 Apr 2017 09:25:00 +0000 Basic Logistic Regression in Go (Machine Learning) #machinelearning Machine Learning is rapidly becoming more and more relevant both within the field of Software Development as well as Society as a whole. This post aims to show how very basic Machine Learning techniques can look in Go 11 points posted by zupzup https://zupzup.org/ml-in-go-logreg 1561 Wed, 18 Jan 2017 19:52:00 +0000 Deploying a Static Website to AWS with Go This post describes the process of building a small single-purpose tool in Go for deploying static websites to AWS S3 and Cloudfront. 10 points posted by zupzup https://www.zupzup.org/static-deploy-tool 1444 Mon, 02 Jan 2017 16:47:00 +0000 Examples For Using io.Pipe in Go #tutorial The io.Reader and io.Writer interfaces in Go are immensely powerful, yet simple. This post explores how we can use another simple concept to create powerful effects: io.Pipe 10 points posted by zupzup https://zupzup.org/io-pipe-go 1361 Thu, 15 Dec 2016 16:06:00 +0000 Log Deletion on ELK stack using Go <a href="https://zupzup.org/log-deletion-elk-go/">This post will show a simple Go program for deleting old logs on the ELK stack. </a> 8 points posted by zupzup https://zupzup.org/log-deletion-elk-go 3566 Sat, 15 Sep 2018 16:30:00 +0000 Basic Role-Based HTTP Authorization in Go with Casbin Casbin is an authorization library for Go, which supports several access control models. In this post we will take a look at a simple HTTP example featuring basic role-based authorization. <br> 7 points posted by zupzup https://zupzup.org/casbin-http-role-auth 3079 Fri, 05 Jan 2018 14:27:00 +0000 Writing a Static Blog Generator in Go <p><a href="https://zupzup.org/static-blog-generator-go/"><a href="https://zupzup.org/static-blog-generator-go/" style="color: rgb(0, 139, 139); font-family: sans-serif; font-size: medium; background-color: rgb(250, 250, 250);"></a></a></p> <p>Last November I decided to start writing this Blog. In order to create it, I wrote a static blog generator in Go, which is described in this post.</p> 7 points posted by zupzup https://zupzup.org/static-blog-generator-go 2325 Sun, 18 Jun 2017 16:22:00 +0000 Port Forwarding with Go In this post, I take a look at how simple it is to do port forwarding with Go's great standard library. 7 points posted by zupzup https://zupzup.org/go-port-forwarding 1963 Sun, 19 Mar 2017 17:41:00 +0000 Syntax-Highlighting from a Markdown source in Go using Chroma <h1 id="pagetitle">Syntax-Highlighting from a Markdown source in Go using Chroma</h1> 6 points posted by zupzup https://zupzup.org/go-markdown-syntax-highlight-chroma 3579 Sun, 23 Sep 2018 13:30:00 +0000 Elasticsearch to Prometheus Exporter in Go 6 points posted by zupzup https://zupzup.org/go-elasticsearch-prometheus-exporter 3420 Fri, 06 Jul 2018 09:48:00 +0000 HTTP File Upload and Download with Go <a href="https://zupzup.org/go-http-file-upload-downlaod/">One of Go's big upsides, for me, is its simplicity. This post shows another example of this, implementing a basic HTTP File Up- and Download using just the standard library. </a> 6 points posted by zupzup https://zupzup.org/go-http-file-upload-download 3009 Sun, 10 Dec 2017 12:40:00 +0000 Interacting with Ethereum Smart Contracts using Go Smart Contracts and Blockchain remain a hot topic. This post will show how to interact with Ethereum Smart Contracts using Go. 6 points posted by zupzup https://zupzup.org/eth-smart-contracts-go 2431 Sun, 23 Jul 2017 19:07:00 +0000 Basic AST Traversal in Go Looking at and interacting with the AST (Abstract Syntax Tree) of a program can be both interesting and useful for automation. In this post, we'll look at an example of how to parse a Go program to an AST and how to analyse it. 6 points posted by zupzup https://zupzup.org/go-ast-traversal 2402 Fri, 14 Jul 2017 14:16:00 +0000 Simplistic Mocking in Go #testing After having written many tests with several bloated mocking frameworks in different languages, this is an attempt at a very simplistic utility for mocking in Go 6 points posted by zupzup https://zupzup.org/go-simplistic-mocking 1771 Sat, 18 Feb 2017 18:22:00 +0000 Basic AST Manipulation in Go <a href="https://zupzup.org/ast-manipulation-go/" style="color: rgb(0, 139, 139); font-family: sans-serif; font-size: medium; background-color: rgb(250, 250, 250);"> <p>Traversing an AST (Abstract Syntax Tree) is useful for analysing and understanding a code-base, but the real power comes when we are able to manipulate it, which allows us to build tools. This post shows a simple example of how to manipulate the AST in Go.</p></a> 5 points posted by zupzup https://zupzup.org/ast-manipulation-go 2914 Fri, 10 Nov 2017 13:18:00 +0000 Syntax-Highlighting from a Markdown source using Go <a href="https://zupzup.org/go-markdown-syntax-highlight/" style="color: rgb(0, 139, 139); font-family: sans-serif; font-size: medium; background-color: rgb(250, 250, 250);"> <p>This post shows one way to create syntax-highlighted HTML from a markdown source. Using only Go.</p></a> 5 points posted by zupzup https://zupzup.org/go-markdown-syntax-highlight 2303 Fri, 09 Jun 2017 09:43:00 +0000 Boltdb with Storm <a href="https://zupzup.org/boltdb-with-storm/" style="color: rgb(0, 139, 139); font-family: sans-serif; font-size: medium; background-color: rgb(250, 250, 250);"> <p>BoltDB is a simple and fast key/value store written in pure Go. Storm is a toolkit for BoltDB, which helps us tackle more complex use-cases.</p></a> 4 points posted by zupzup https://zupzup.org/boltdb-with-storm 2218 Wed, 17 May 2017 18:52:00 +0000 Creating an iCal feed with Go <a href="https://zupzup.org/go-example-ical/"> In this short example we'll create a cached iCal feed with Go for a fake REST API </a> 3 points posted by zupzup https://zupzup.org/go-example-ical 3189 Sat, 17 Feb 2018 15:32:00 +0000 Implementing S3 Delta-Upload for static-aws-deploy using Go In this post I describe my implementation of delta-uploading for AWS S3 within the static-aws-deploy tool using Go 3 points posted by zupzup https://zupzup.org/s3-delta-upload 1839 Wed, 01 Mar 2017 15:57:00 +0000 Creating a Basic GraphQL API with Go GraphQL is a powerful concept and this post will show how to translate an existing REST API to GraphQL using Go <br> 1 points posted by zupzup https://zupzup.org/go-example-graphql 3216 Sun, 04 Mar 2018 19:48:00 +0000