Getting to Know Pointers in Golang

Getting to Know Pointers in Golang

We know that sending a variable to a function can be a parameter or a pointer. This pointer is usually a data allocation with a certain address. An example can be seen in the program below.

Getting to Know Structs and Interfaces in Golang

Getting to Know Structs and Interfaces in Golang

Although it is possible for us to write programs using only Go’s built-in data types, at some point it will become very tedious. Consider a program that interacts with a form like the code below.

Getting to know Data Types in Golang

Getting to know Data Types in Golang

##Numbers

Integers

There are integer types that we can use, including uint8, uint16, uint32, uint64, int8, int16, int32 and int64. The following is an example of using integer type variables in the go program:

How to Debug Golang in VSCode

How to Debug Golang in VSCode

Maybe you have seen applications that are live with errors or the application stops in the middle of the process we are running. Of course, this is uncomfortable because we have to repeat the process from the beginning. Processes that suddenly stop are usually called bugs. Bug itself is an error that occurs as a result of an error that occurs due to an instruction or process being executed imperfectly. The causes of bugs are many factors, perhaps the manufacturing process is not perfect, or when running a process that requires something, for example resources and that need cannot be met, a bug will arise.

VSCode Extension Often Used in Golang

VSCode Extension Often Used in Golang

Visual Studio Code is currently a hit loved by programmers because it is said to be easier to use and lighter when run on a computer. Apart from being easy, what programmers usually call vscode, there are also many supports or extensions that can support programmers’ needs to make it easier to do their work. We often use additional extensions/plugins to help make things easier for programmers when they are busy coding. So, below, Santekno has several recommendations for extensions that you can use to make your work easier and help you do coding more coolly.

How to Setup Development Go in Visual Studio Code

How to Setup Development Go in Visual Studio Code

Since becoming acquainted with Open Source Visual Studio Code, since then Santekno has been working on a project or in other words ‘coding’ using the Visual Studio Code (VSCode) IDE. Besides being light when used, there are also many additional features (plugins) that can support us in coding.

How to Create a Stack Using the Standard Template Library

How to Create a Stack Using the Standard Template Library

Stack is a data structure that provides data like a stack in a glass, so if data is put into a glass the first one will be the last to be taken, then this data structure adheres to the LIFO (Last In First Out) rule. ). The meaning of LIFO is that the last person in will be the first to leave.

How to Create a Stack using Double Linked List

How to Create a Stack using Double Linked List

Stack is a data structure that provides data like a stack in a glass, so if data is put into a glass the first one will be the last to be taken, then this data structure adheres to the LIFO (Last In First Out) rule. ). The meaning of LIFO is that the last person in will be the first to leave.

How to Create a Stack using C++ Arrays

How to Create a Stack using C++ Arrays

Stack is a data structure that provides data like a stack in a glass, so if data is put into a glass the first one will be the last to be taken, then this data structure adheres to the LIFO (Last In First Out) rule. ). The meaning of LIFO is that the last person in will be the first to leave.

How to Create a Double Linked List using C++

How to Create a Double Linked List using C++

Double Linked List is a linked list that uses just a pointer variable to store a lot of data using the linked list method, a list of contents that are interconnected.

How to Use a Single Linked List Using C++

How to Use a Single Linked List Using C++

Linked List is a form of data structure, containing a collection of data (nodes) that are arranged sequentially, interconnected, dynamic and limited. Meanwhile Single Linked List is a linked list which uses just a pointer variable to store a lot of data using the linked list method, a list of contents that are interconnected.