I recently started looking at Go and saw how it's used for server applications. But then I saw how it doesn't support proper object orientation, meaning no classes in the usual sense. If you are using Go for real server applications, how are you doing it?

Follow

@lx By not using objects :) functions and composition are much easier to reason about anyway.

@bcl Okay, but how do you map data from a database for example? i.e. DOM

@lx For postgresql I've used database/sql from the core library, as well as github.com/jmoiron/sqlx/ (but note that I'm not terribly experienced with Go yet, still kicking the tires, but I like it better than anything else so far).

Sign in to participate in the conversation
Infosec Exchange

A Mastodon instance for info/cyber security-minded people.