Published News Golang

Implementing a reverse proxy in Golang on Google App Engine

Posted By tutorialStash on Golang - Google runs an interesting PaaS (Platform as a Service) called App Engine. It allows you to write code in one of four language/environments: PHP, Python, Java, and Go. Go is currently a beta offering but already offers the same features as the other three.

Writing Handsome Golang Middleware by @laicos

Posted By tutorialStash on Golang - My aim in this endeavor is to:

Create a clean route definition.
Be compatible with std router & popular ones like Gorilla MUX & HttpRouter.
Allow contextual info to ride the chain.
Write as little code as possible.
Be intuitive, don’t diverge.
Maybe introduce a common error handler.

Replacing Rails: Part 1 "Lets Go!" – Made by Many

Posted By tutorialStash on Golang - Rails has been, whether I like it or not, a pretty big chunk of my life. When I first started charging for my work, Rails was new and it seemed like a community of really active developers. Github and RubyGems seem to have changed the way we all write and use code. (Remember when Github used to be the best RubyGem host?!)Here at Made by Many, Ruby along with Rails is often our back end of choice for building applications that require a quick turnaround, particularly when there is lots of CRUD involved. It's often an easy option with a fairly good toolset (we’ll talk more about that later)

#Build your own dynamic DNS service with GO!

Posted By tutorialStash on Golang - Dynamic DNS is a handy tool whenever you want access your home environment from the outside world. Most of us have dynamic IP, so the dns server must be updated whenever the dynamic address changes. Somehow I don't feel comfortable with services such as etc. and that is why I decided to write simple, yet useful dynamic DNS service on my own. It took me ~300 lines of well formatted code. It is not much, isn't it? Let's "GO"!

Reading and Writing Redis Protocol in Go

Posted By tutorialStash on Golang

One of Redis’s best unsung features is its wire protocol. It’s the reason that Redis has one of the largest ecosystems of high-quality client libraries. The Redis wire protocol is remarkably simple, which makes it easy to build a client that implements all of Redis’s major features. It’s also designed in a way that makes it easy to write fast and efficient client libraries.

In this post, I outline a simple, easy to understand implementation for two components of a Redis client in Go as a way of understanding how the Redis protocol works and what makes it great.

(If you’re looking for a