Open in app

Sign in

Write

Sign in

Oren Rose
Oren Rose

179 Followers

Home

About

Published in

The Startup

·Oct 20

Structured Errors in Go (Thought Experiment)

There is no debate that structured logging has many advantages over the alternative, and Go 1.21 finally introduced the wonderful new package slog that brought structured logging into the standard library. In addition, it also supports different log levels, such as slog.Info, slog.Debug, slog.Warn, and slog.Error. In this post, I…

Go

4 min read

Thought Experiment: Golang Structured Errors
Thought Experiment: Golang Structured Errors
Go

4 min read


Sep 17

Why is Go-Kit Perfect For Clean Architecture in Golang?

Introduction Go is perfect for Clean Architecture. Clean Architecture alone is just an approach, it doesn’t tell you how to structure your code source. It is very significant to realize it when trying to implement it in a new language. It took me several tries to write my first service since…

Go

9 min read

Clean Architecture in Golang with Go Kit
Clean Architecture in Golang with Go Kit
Go

9 min read


Published in

The Startup

·Aug 18

goroutine Wrapper For Recover and Context Propagation

Introduction Go’s concurrency model is great. It’s one of the main features that brings many developers to Go. But despite its low cost and (super) easy implementation, it has a few gotchas. In this post, we’ll see some of them and how to overcome them by building a simple async wrapper. Recovering From Panic …

Go

7 min read

goroutine Wrapper For Recover and Context Propagation
goroutine Wrapper For Recover and Context Propagation
Go

7 min read


Published in

The Startup

·Dec 13, 2020

Provider Pattern in Go and Why You Should Use It

When we are writing code, we’re likely to deal with the same problems and challenges repeatedly. One of these challenges we are all facing from time to time is interacting with an external service. It may seem like a trivial issue, but even simple needs deserve a consistent solution. As…

Go

9 min read

Provider Model in Go and Why You Should Use It (Answer: Clean Architecture)
Provider Model in Go and Why You Should Use It (Answer: Clean Architecture)
Go

9 min read


Published in

The Startup

·Aug 2, 2020

When an Interface Depends on Another Interface in Go

Interfaces are the way for you to describe abstract behaviour, but what makes Go Interfaces so great? Well, it’s probably the first thing you learn about them, that they are implemented implicitly. You don’t need to explicitly specify about a type which interface it implements. This makes dependancy injection super…

Golang

6 min read

When an Interface Depends on Another Interface in Go
When an Interface Depends on Another Interface in Go
Golang

6 min read

Oren Rose

Oren Rose

179 Followers

I’m a back-end developer, Golang enthusiastic and Clean Architecture zealous

Following
  • Erez Rabih

    Erez Rabih

  • Mark Levinson

    Mark Levinson

  • Britt Barak

    Britt Barak

  • Oz Alon

    Oz Alon

  • Mat Ryer

    Mat Ryer

See all (42)

Help

Status

About

Careers

Blog

Privacy

Terms

Text to speech

Teams