Roman BudnikovGo errors with additional details.In Go, an error type is just an interface with Error() string signature, so every type that implements this signature satisfies it. Go also…2 min read·May 3, 2021----
Roman BudnikovinITNEXTUsing Service Objects in GoService Objects is a highly usable pattern in Ruby on Rails that gives the ability to keep controllers skinny, models clean and remove…4 min read·Dec 24, 2018--3--3
Roman BudnikovinITNEXTYet another tool to mock interfaces in GoAs a powerful tool, unit tests can give the ability to check every aspect of the code behavior. If you will keep the idea about the need…3 min read·Nov 27, 2018----
Roman BudnikovTesting database interactions using GoWhen it comes to integration or end-to-end testing, there is no more place for the mocks ss everything tested around real components or at…4 min read·Jun 18, 2018--2--2
Roman BudnikovinITNEXTHow to stub requests to remote hosts with GoWhen creating a package with a client for some API, it’s critical to cover it with tests, especially if you want to put this package on…2 min read·May 23, 2018--2--2
Roman BudnikovHandling JSON null or missing values with go-swaggerIn JSON there are two ways to represent null values, first is when there is no value for a given key and its value is implicitly set to…2 min read·May 3, 2018----