Golang implementation

go lib now implements the same features than the PHP lib