Open in app
Home
Notifications
Lists
Stories

Write
Reshef Sharvit
Reshef Sharvit

Home
About

Jun 1

Go faster with Golang and LocalStack

NBA Finals are kicking off tomorrow, and there’s no better time for a new post than now. In previous posts I talked extensively about unit testing, mocking, coverage and how important they are for a reliable and efficient development process. With that said, unit tests have their own limitations: their…

Golang

5 min read

Go faster with Golang and LocalStack
Go faster with Golang and LocalStack

Dec 26, 2021

5 tips for better unit testing in Golang

When writing code projects, developers will usually devote a large portion of their time for choosing the right frameworks, libraries, databases and other 3rd party components. One section that is often overlooked and neglected is the testing. Proper testing actually make your project better because they encourages you to: Apply…

Golang

8 min read

5 tips for better unit testing in Golang
5 tips for better unit testing in Golang

Published in ITNEXT

·Jul 11, 2021

Golang, Microservices and Twirp

In this blog post I want to talk about APIs, and how to design your API when working with microservices. Prerequisites: 1. Golang — https://golang.org/doc/install 2. Protobuf compiler — https://grpc.io/docs/protoc-installation/ The project’s source code can be found here Breaking the Monolith Until fairly recently, the go-to approach to building applications was creating a…

Golang

7 min read

Golang, Microservices and Twirp
Golang, Microservices and Twirp

Published in ITNEXT

·Jun 22, 2021

Golang and clean architecture

I wanted to publish this article during the early days of the NBA Playoffs, when Damian Lillard was balling. Although it’s a bit too late now, he still deserves a big shout out. In this post we will review and deploy a golang application that follows the clean architecture principles. Source code can be found here. Update: 3.7.2021: Removed OpenAPI client generation because it didn’t help much (and I also had to write…

Golang

6 min read

Golang and clean architecture
Golang and clean architecture

Mar 3, 2021

Common pitfalls when using goroutines

In this post I am going to cover some common cases and incidents that you are likely to experience when using goroutines and how to deal with them. Table of contents: Introduction 1. Waiting for the goroutines 2. Deadlocks 3. Getting unexpected results 4. Race conditions Introduction First, what’s a goroutine? Golang is concurrent…

Golang

7 min read

Common pitfalls and cases when using goroutines
Common pitfalls and cases when using goroutines

Sep 6, 2020

Mock AWS services in Golang

Introduction: Around 9 months ago I started making the transition from Python to Golang, mainly due to the technology stack used in my company. One difficult spot I found was mocking AWS services. In this article I am going to demonstrate how to mock AWS services using Golang. Motivation (Why do we even need to mock)? In the previous…

AWS

3 min read

Mock AWS services in Golang
Mock AWS services in Golang

Aug 17, 2020

AWS SAM + Python + Pytest

Update 07.09.2020: Added an AWS DynamoDB. In this article we will build, test and deploy an example lambda using SAM, Python3 and Pytest, while maintaining maximum code coverage, development velocity and simplicity. Introduction: AWS provides an open source framework for building serverless applications — Serverless Application Model. SAM allows you…

AWS Lambda

4 min read

AWS SAM + Python + Pytest
AWS SAM + Python + Pytest
Reshef Sharvit

Reshef Sharvit

Backend Engineer

Following
  • Vincent Blanchon

    Vincent Blanchon

  • dm03514

    dm03514

  • Liav Yona

    Liav Yona

  • Liya Katz

    Liya Katz

  • Alan Illing

    Alan Illing

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable