PythonPython How to pass a class constructor as an argument Is it possible to pass a constructor as a parameter? Yes, it is. There are multiple ways to instantiate a different clas...2023.08.14Python
PythonPython How to mock constructor with mockito for unit testing A class constructor directly needs to be called in a class in some cases. It might not be a good design but sometimes it...2023.08.09Python
PythonPython How to handle an error from finally block If an error occurs in finally block, the first error caught in except block is overwritten. How can we know both errors? Let's split the block and add both errors into one custom error.2023.08.07Python
GolangGolang 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.2023.08.04Golang
Dart and FlutterDart 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...2023.08.02Dart and Flutter
Dart and FlutterDart 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...2023.07.31Dart and Flutter
Dart and FlutterDart 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...2023.07.28Dart and Flutter
Dart and FlutterDart 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...2023.07.26Dart and Flutter
Dart and FlutterDart 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...2023.07.24Dart and Flutter
Dart and FlutterDart 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.2023.07.21Dart and Flutter