Index ¦ Archives ¦ Atom > Category: golang ¦ Atom

Automatic building and publishing DEB packages for Golang applications

In my earlier post, Quick and dirty debian packages for your Golang application I shared a recipe building DEB packages for Golang applications. We are going to see the following things in this post building upon our recipe in that post:

  • Building the DEB packages in Travis CI
  • Publishing the …

Quick and dirty debian packages for your Golang application

In this post, we will learn about a quick and easy workflow for building and deploying your golang applications as Debian packages. The packages produced will not be official quality DEB packages.

Assumptions

I have been using dep for dependency management, and I assume that you are doing the same …


Dissecting golang's HandlerFunc, Handle and DefaultServeMux

My aim in this post is to discuss three "concepts" in Golang that I come across while writing HTTP servers. Through this post, my aim to get rid of my own lack of understanding (at least to a certain degree) about these. Hopefully, it will be of use to others …


Notes on using Golang to write gitbackup

gitbackup is a tool to backup your git repositories from GitHub and GitLab. I wrote the initial version as a project for a golang article which is in review for publication in a Linux magazine. It supports GitHub enterprise installations and custom GitLab installations in addition to repositories on github …


Setup Golang 1.8 and gb on Fedora (and other Linux distributions)

This guide will be how I usually setup and get started with Go development environment on Linux. By the end of this document, we will have seen how to:

  • Install the Go 1.8 compiler and other tools (gofmt, for eaxmple), collectively referred to as go tools
  • Install gb and …

Setup Golang on Fedora 24 (and other Linux distributions)

This guide will be how I usually setup and get started with Go development environment on Linux. By the end of this document, we will have seen how to:

  • Install the Go compiler and other tools (gofmt, for eaxmple), collectively referred to as go tools
  • Setup Go workspace
  • Working with …

runC and libcontainer on Fedora 23/24

In this post, I will post my notes on how I got runC and then using libcontainer on Fedora. The first step is to install golang:

$ sudo dnf -y install golang
$ go version
go version go1.6 linux/amd64

We will set GOPATH=~/golang/ and then do the following:

$ mkdir …

New article: Write an Image Cropping program with Go

My article "Write an Image Cropping with Go" is out in Linux Voice (Issue 26). It is my first article to be published in Linux Voice and I am very excited about it.

It is challenging to write an introductory article without being able to explain everything the reader needs …

© Amit Saha. Built using Pelican. Customised theme based on the one by Giulio Fidente on github.