Blog

Latest Articles

Browse the latest tutorials, guides, and practical examples across Linux, DevOps, security, databases, and programming on GoLinuxCloud.

Explore the latest tutorials and guides across Linux, DevOps, programming, and more.

You can also browse content by category below:

  • Linux: Commands, administration, troubleshooting, and system operations
  • DevOps: CI/CD, Kubernetes, containers, and automation
  • Programming: Coding tutorials, scripting, and development concepts
  • Security: Ethical hacking, system security, and best practices
  • Databases: MySQL, MariaDB, PostgreSQL, and database management
  • Networking: Network setup, troubleshooting, and protocols
  • Storage: Disk management, file systems, and storage solutions
  • System Administration: User management, services, and system-level tasks
  • Tools: Useful tools and utilities for productivity
  • Cheat Sheet: Quick reference guides for commands and tools
  • Interview Questions: Common interview questions with answers

2076 articles

What is & and * in Golang? [Solved]

In this tutorial we will explore what is & and * icon or operator in golang and what is it used for?

By tuannguyen · 4 min read · programming

How to check if struct is empty in GO? [SOLVED]

This article describes a few methods for determining whether a struct in Go is empty. It includes structs having fields that are comparable and

By tuannguyen · 4 min read · programming

How to convert float64 to int Golang? [SOLVED]

In this tutorial, we will walk through some ways to convert a float64 to int in Golang. As introduced before, we can convert float64 to a string using the

By tuannguyen · 3 min read · programming

How to Compare Struct, Slice or Map in GO? [SOLVED]

In Golang, the DeepEqual function is used to compare struct, slice, and map equality. It is used to determine whether or not two items are "deeply equal".

By tuannguyen · 6 min read · programming

How to do repetitive tasks at intervals GO? [SOLVED]

In today's post, I will introduce to you some ways to do some repetitive tasks at intervals in Golang. We can use the time.Ticker() function or use a channel

By tuannguyen · 4 min read · programming

How to trim leading and trailing spaces GO? [SOLVED]

In this tutorial, we are going to examine some examples of trim leading and trailing white spaces of a string in Golang. Golang provides the built-in package

By tuannguyen · 3 min read · programming

Import local packages without GOPATH [SOLVED]

In today's post, we are going to answer the question "Can we import the local packages without the GOPATH". We already have an article about how to organize

By tuannguyen · 4 min read · programming