Introduction

Enterprise application is a long-lived, reliable system, having a lot of persisting data for many years. Nowadays the world of Golang is not providing possibilities to build systems in the way that enterprise systems are built.

“Enterprise applications” by Martin Fowler

Culture of developing in Golang

Let’s consider few problems such as poor error handling, manually composed SQL queries and wheel - oriented development.

Poor error handling

Golang provides more freedom in error handling. It often leads to poor error handling in applications because of lack of responsibility on the developers’ side.

The most popular case is related to execution of sql query:

defer rows.Close() // omitted errors from…

Dmitry Afonkin

Software developer in International Fintech Holding, Machine Learning enthusiast, startup Enthusiast, solution architecture enthusiast

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store