Friday, 25 August 2017

Go 1.9

Go 1.9 is released! 😊

Highlights are type aliases, marking test methods as helpers, monotonic time, and a new type Map, made for concurrent use.

See release news at the Go blog, and Go 1.9 release notes.

Monday, 14 August 2017

Which git repository was changed again?

Sometimes, working across multiple git repositores, there is a need to have many of them dirty at the same time.

To find the status of multiple repositories below the same path, I wrote a tiny utility to show  git status -s  for them. The parameter -s stands for short, it just shows the changed or untracked files for a repository, that are not committed.

Have a look at the utility at github.com/borglefink/gitstat.

Thursday, 10 August 2017

Cntsrc, a rewrite of countsource

My command line utility countsource has been rewritten. When starting refactoring, I realised I would like to keep the old one, so I just started fresh. That is - it does the same thing, so much of the code is very similar.

This time I added tests, and made it simpler to configure. It is written in a more idiomatic Go, as well. Have a look at the new cntsrc, at github.com/borglefink/cntsrc.