#Package

14 articles

09 How To Use Streaming Encoder

09 How To Use Streaming Encoder

Introduction to Stream Encoders Apart from JSON Decoder, this JSON package can also support Encoder which is used directly JSON into io.

08 How To Use Streaming Decoder

08 How To Use Streaming Decoder

Introduction to Stream Decoder In the previous article, we studied the JSON package by using conversion of JSON data which was already in the form of variables and string data or we used []byte.

07 How To Use Maps

07 How To Use Maps

Map Use When we use JSON we sometimes encounter cases of dynamic JSON data, which means that the attributes formed by JSON are uncertain, can increase or decrease and are not even fixed.

06 How to know JSON Tags

06 How to know JSON Tags

Introduction to JSON Tags By default, if we create a struct and marshal it, it will be mapped according to the same attribute name and is case sensitive.

05 How to know JSON Array

05 How to know JSON Array

Introduction to JSON Arrays Apart from JSON in Object form, usually in JSON we can also use the Array data type.

04 How to know Decode JSON

04 How to know Decode JSON

Introduction to JSON Decoding In the previous article we learned to encode JSON and how to create a JSON object, so next we will learn how to translate JSON objects into struct objects in Golang.

03 How to know JSON Object

03 How to know JSON Object

Introduction to JSON Objects In the previous article we studied encoding data such as string, number, boolean and other primitive types.

02 Encode JSON

02 Encode JSON

Introduction to JSON Encoding The Golang language already provides functions for JSON data conversion needs, namely we can use this function

01 Introduction Package

01 Introduction Package

Introduction to JSON JSON stands for JavaScript Object Notation which is a data format structure that looks like Object from JavaScript.

Introduction and Implementation of Golang Embed

Introduction and Implementation of Golang Embed

Introduction to Embed Packages Since Golang released version 1.16 there is a new feature called Embed.

Getting to Know Hashes Cryptography in Golang

Getting to Know Hashes Cryptography in Golang

Hashes & Cryptography The hash function takes a set of data and reduces it to a smaller fixed size.

Get to know Container List and Sort in Golang

Get to know Container List and Sort in Golang

In addition to arrays and maps, Go has several more collections available under the container package.