/images/alvinditya.png

Simple REST Application using Go/Golang

Introduction Go is a statically typed language, The compiler produces optimized machine code, so CPU-intensive code is significantly more efficient than languages like Python or Ruby, which have byte-code compilers and use virtual machines for execution. Prerequisites Make sure you have installed Golang on your device Step to create a simple REST application using Golang Importing packages or modules Install GorillaMux for it’s efficiency and simplicity for learning go get github.

Java 8 Stream API Tutorial

Prerequisites Basic knowledge of Java 8 (lambda expressions, Optional, method references) of the Stream API. This tutorial is using Gson to pretty print JSON string. Object and Data Sampling Create class Pojo.java 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 public class Pojo { private String numberId; private String name; private String gender; public Pojo(String numberId, String name, String gender) { this.