Archive for go

[just.few.tuts] go get pkg ~ easy made easier for project dependency management

Posted in AbhishekKr, Blogroll, tutorial with tags , , , , , , on March 4, 2014 by abhishekkr

justfewtuts.blogspot.in [5/Dec/2013]

http://justfewtuts.blogspot.in/2013/12/go-get-pkg-easy-made-easier-for-project.html

For past sometime I’ve been trying out ways to improve practices upon awesome capabilities from GoLang. One of the things have been having a ‘bundle install’ (for ruby folks) or ‘pip require -e’ (for python folks)  style capability… something that just refers to an text file part of source code and plainly fetches all the dependencies path mentioned in there (for all others).

It and some other bits can be referred here…
https://github.com/abhishekkr/tux-svc-mux/blob/master/shell_profile/a.golang.sh#L31

… …  …

What it do?

If ran without any parameters. It checks for current working directory for a file called ‘go-get-pkg.txt’. If not found creates one empty file by that name. To be done at initialization of project. If found, then it iterates through each line and pass it directly to “get get ${line}”. If ran with parameters. Each parameter is treated as path to files similar to ‘go-get-pkg.txt’ and similar action as explained previously is performed on each file.

Sample ‘go-get-pkg.txt’ file
-tags zmq_3_x github.com/alecthomas/gozmq github.com/abhishekkr/levigoNS github.com/abhishekkr/goshare

…read full blogpost here

Advertisements

[just.few.tuts] ci-go-nfo v0.0.1 : console util for ThoughtWorks’ Go CI Server

Posted in AbhishekKr, tutorial with tags , , , , , , , , , , , on October 5, 2012 by abhishekkr

justfewtuts.blogspot.in [19/Sep/2012]

http://justfewtuts.blogspot.in/2012/09/ci-go-nfo-v001-console-util-for.html

Just a rubygem console utility to get focussed INFO about your Go Continuous Integration pipeline easily, no more switching again to browsers.

@RubyGemshttps://rubygems.org/gems/ci-go-nfo

@GitHub:  https://github.com/abhishekkr/ci-go-nfo

Installation 
$ gem install ci-go-nfo

Usage Ci-Go-Nfo ver.0.0.1
to set-up credential config for your go-ci
ci-go-nfo setup
it asks for
(a.) the location where you want to store your configuration file
(b.) the URL for your Go Server like http://my.go.server:8153
(c.) then username and password (create a read-only a/c for it)

to show go-ci info of all runs
ci-go-nfo

to show go-ci info of failed runs
ci-go-nfo fail

to show go-ci info of passed runs
ci-go-nfo pass

…..click here for full post

[just.few.tuts] Get Set Go Lang ~ part#1

Posted in AbhishekKr, Blogroll, tutorial with tags , , , , , , on July 10, 2012 by abhishekkr

justfewtuts.blogspot.in [6/June/2012]

http://justfewtuts.blogspot.in/2012/06/get-set-go-lang-part1.html

What Is Go Lang?
(in case you just came here while curious web surfing)


Go is an OpenSource programming platform developed by Google (andcontributors) to be expressive and efficient at the same point.
It’s distributed under BSD-style License
It’s a concurrency favoring, statically typed, compiler-based language. Though it declares to be giving ease like dynamically typed interpreted code.
_________________________

On your mark, Get Set GO
(getting started with the quick boost usage)

To directly start playing with Go Lang, visit http://play.golang.org/,
where you can directly type/paste in your go-lang code in an online editor and run to get output.

……….

Rewind before the Start Line and take your First Leap
(first useful step to starting use of Go Lang)

[] quickie at variables and constants, a look at GO’s declaration style…..

[] mobilizing functions…..
[] some function parameters style, the pow above is same as…..
[] function returning multiple values…..

[] more to go….. in more to come_________________________Shops to Go
(other fine links to Go, until next part of this tutorial comes)…..

…..click here to read full post

[techiebond] I smell 3G ~ Gosling, Google & Go

Posted in Blogroll with tags , , , , , , on May 31, 2011 by abhishekkr

@ techiebond.wordpress.com [30/May/2011]

http://techiebond.wordpress.com/2011/05/30/i-smell-3g-gosling-google-go/

I smell 3G ~ Gosling, Google & Go
Java’s Daddy, James Gosling after a long break… joined Google some time back.
March’28 2011 : officially joined Google
Suddenly, I come to hear a new spirit & raged promotion for…….

…..click here to read in detail