Saturday, April 28, 2012

Image Repository

Here's a small we app the allows users to upload photos (somewhat like imgur).



Thursday, April 19, 2012

Open file/urls with default program

Here's the code for a cross platform way to open file/uri with default application.

You can also install the package with
    go install

Monday, April 16, 2012

Web/Desktop Application

Currently there's no easy/cross platform way to write desktop applications in go.
However I found out the for simple UI (which in my case covers most of them). I can get away with writing the application as a web server and point the user browser to it.

Here is a small example for a guest book:

Saturday, April 7, 2012

Building Go Projects

Now that Go1 is out, the way to build projects is using the go tool. I found out that the following process works for me.

I have a directory goroot somewhere and there under src I have all my projects. Then I use the following Makefile (this is an example from selenium/webdriver client).

/* MIKI: Analytics */