Basic Golang Examples
The Go examples in this section are edited in Visual Studio Code on Ubuntu and compiled and run on the terminal.
- How to install Golang on Debian 11
- Hello World in Golang
- Read a Text File in Golang
- Write a Text File in Golang
- Create an XML file in Golang
- Read an XML file in Golang
- Create a Web Server with Golang
- Convert a struct to JSON in Golang
- Connect to MariaDB in Golang
- The for loop in Golang
- Connect to MongoDB in Golang
- Connect to MySQL in Golang
Soon we will add more examples.