Sponsored links
Golang

Golang errors.Is() does not work for Custom error?

How can a custom error implemented in Golang? Define struct and Error() method for it. Implement Is() method if errors.Is() needs to be used for the custom error.
Dart and Flutter

Dart How to define an array with mixed data type in gRPC

An array and map data type is useful. Is it possible to use them in gRPC? YES, it is. Let's define them in Protocol Buff...
Dart and Flutter

Dart gRPC How to handle multi-data type property

In Protocol Buffer, we can define a property that can have multiple data types. A different data type needs to be assign...
Dart and Flutter

Dart gRPC Bidirectional streaming example

I posted the following gRPC articles before. If you have something unknown in this post, please go to the following page...
Dart and Flutter

Dart Client Streaming gRPC function example to Upload a file

We will learn how to implement the client streaming gRPC function in this post. If you have something unknown in this po...
Dart and Flutter

Dart Server Streaming gRPC function example to download a file

We will dig into a streaming gRPC function in this post. Please check the following post too if you haven't read it. Dar...
Dart and Flutter

Dart The first gRPC server and client with timestamp

Let's try to define the first gRPC functions and implement it in both server and client side. This is the good start point of gRPC.
Dart and Flutter

Dart How to setup devcontainer for gRPC

The official side shows examples but you might run into some problems to setup the environment in devcontainer. Let's setup the env with me to save your time.
Golang

Golang Mock File System for unit testing by afero

It's often problematic to create a test directory or file on the actual file system because they are need to be deleted after each test. Don't stop it. Let's use afero package to do it on the memory.
Python

Python Find the fastest way to access a property for performance

Which structure is the fastest way to access a property? Let's compare the different structures and choose the fastest one for performance tuning.
Sponsored links