This blog is dedicated to learning the Go programming language (golang). Most likely there'll be golang tutorials, discussions on golang idioms and golang programming techniques. We will also follow the development of
32 followers 0 articles/week
Hacking with Go

Hi everyone! I've just learned about Google's Go language and I think it'll be interesting to write software with it. I'm using this blog to record my experiences with Golang, so check it out from time to time!

Wed Jun 26, 2013 14:46
Installing golang on Ubuntu Linux

In your $HOME/.bashrc, set the necessary environment variables: export GOROOT=$HOME/go export GOOS=linux # target operating system export GOARCH=386 # target compiling architecture Note that with golang, you are always "cross-compiling".  So the values for $GOOS and $GOARCH are not necessarily corresponding to your Linux box. Make sure you...

Wed Jun 26, 2013 14:46
Syntax highlighting for golang

I've been using Alex Gorbatchev's SyntaxHighlighter to ease the task of presenting code on this blog. Seeing that there's currently no "brush" for golang, I decided to create one. I posted the code here for anyone interested. To use it, simply put the following line where you'd normally do it for SyntaxHighlighter brushes (usually before the <head>...

Wed Jun 26, 2013 14:46
Test for the Go syntax highlighter

I got some feedback from the Go Nuts mailing list, particularly from Russ Cox who pointed out that predefined identifiers like true, nil, int, and float are not reserved keywords.  So I decided to have two kinds of highlighted keywords: those that start a type or start a declaration, including for packages: struct func interface map chan package import...

Wed Jun 26, 2013 14:46
The Snail in Golang

It's been some time since I last played with Golang so I decided to spend a bit of time getting to actually know golang by solving the classic snail problem, that is, to write a sequence of numbers in a square matrix of a given size n. Let's say we have a program called snail, running it with a number argument (for the square size) should look like...

Wed Jun 26, 2013 14:46
Golang Project Idea: Go EDIFACT

It's been sometime since I've written anything on this blog. A few weeks back I realized that my syntax highlighting brush for golang wasn't available online anymore and so I decided to put it on Github. Anyway, I've been thinking about what I could do to improve my understanding of the Go programming language.  Earlier today it dawned on me that...

Wed Jun 26, 2013 14:46

Build your own newsfeed

Ready to give it a go?
Start a 14-day trial, no credit card required.

Create account