0

Golang – GoEnv with versions 1.11+

If you have wondered why does you goenv is stuck on version 1.11.X then you probably missed on one of the open issues ( which btw is quite annoying to find )

brew install jq
if [ -n "$(brew info --json goenv | jq -r '.[0].installed[] | select(.version | test("^HEAD-") | not)')" ]; then
  brew uninstall goenv
fi
brew install --HEAD goenv

Once you execute the code above – you will be able to use up to date versions of go 🙂

0

Scaffolding application templates using Yeoman.io

When you quickly need to create a new application starting every time from scratch can be a pain in the back side 🙂 But have no fear – there is a really nice service called Yeoman available here (  http://yeoman.io/ ).

Based on community best practices it acts as “generator” of all what you need to start your new app. Since I’m using MacBook nowadays – we will go through installation on that platform.

brew install node

 

Once done we can install yeoman and for demo purposes generator for hubot

npm install -g yo generator-hubot

 

And there it is 😉 from this point onwards we just just create our apps – easily and whats most import on demand! Let’s start with something simple like Hubot

mkdir myhubot
cd myhubot
yo hubot

yeoman_hubot

 

 

 

And off it goes 😉 Now the possibilities are broader and for example starting with c# app or angular is as easy as discovering them here ( generators ) . Try it 🙂