#Golang
104 articles
How to implement a single double linked list in Golang
Basic Definition
If you’ve read and read about the Linked List, you can first read Santekno’s post Single Linked List and Double Linked List
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
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
##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
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
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
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 Install Golang on Windows, Macbook and Linux Computers
First download the Golang library on the [Golang] website (https://golang.org/doc/install).