• GoCache: LRU Cache Implementation in Go

    I got to know about Golang a year back and did write some toy programs in it while learning but then I gave up as I was not really enjoying despite liking Go language. It is very much like Python but with better performance because it’s compiled. Recently I against wished to do something in Go. This time I did not want to go back to practice topic by topic. I rather thought to do some project and will learn whatever the stuff I need to get the thing done. I have used Memcached in the past in PHP and really liked it so I thought to come up with…

  • Structures and Methods in Go

    In this post I am going to discuss Go lang’s another features, structs As I told earlier that Go is not a typical Object Oriented Language. Structures is kind of answers of what you do with Classes and objects. Well, Structure is not a special concept to Go only. If you have worked on C language then you could have an idea what is it all about. Let’s write a simple program [crayon-5ecf1f07171ba472043789/] Ok this is the complete program. After typical declarations I am defining a struct with name person. As you remember you write variable name first and then it’s type in Go. Alright.. so now we have to use…

  • Let’s Go:: A very brif introduction to Go language

      Hello World I am back! I know it took *a bit* long resuming this blog as I got pretty busy in other stuff related to my work. Alright so this post is about writing applications in Go, a programming language create at Google by Ken Thompson(“K” from famous K&R) and the creator of Unix and Rob Pike. I had not thought of learning another programming but there a few reasons I go for the Go Go is a minimal language like Python. Since it was developed by Googlers who are also Python lovers, they came up a language which is simple to write like Python but more efficient like…