Author

Tuan Nguyen

Tuan Nguyen

Data Scientist

at · 136 articles published

Proficient in Golang, Python, Java, MongoDB, Selenium, Spring Boot, Kubernetes, Scrapy, API development, Docker, Data Scraping, PrimeFaces, Linux, Data Structures, and Data Mining. With expertise spanning these technologies, he develops robust solutions and implements efficient data processing and management strategies across various projects and platforms.

Areas of expertise

Certifications & credentials

  • Deep Learning with TensorFlowID: ML0120ENv2
  • Machine Learning with PythonID: ML0101ENv3
Author profile illustration for Tuan Nguyen — technical writer at GoLinuxCloud

Articles by Tuan Nguyen

programming

Is golang tuple possible?

By design golang tuple is not possible but we can work around this by using interfaces and generics.

Tuan Nguyen4 min read
programming

Golang Variable Naming Convention Guideline and TIPs

Explore the indispensable Golang Variable Naming Convention to elevate your coding practices. Dive deep into strategies that will enhance readability, improve code maintenance, and optimize programming efficiency, …

Tuan Nguyen12 min read
programming

Check if Key Exists in GO Map [6 Proven Methods]

We will explore following methods to check if key exists in map in golang. terate over map elements and look out for the key, Using index expression, Perform a lookup for the key inside all the map elements

Tuan Nguyen12 min read
programming

How to trim leading and trailing spaces GO?

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

Tuan Nguyen3 min read
programming

Golang array contains specific element or not? [SOLVED]

In this tutorial we have covered different examples to cover golang array contains elements. Use for loop to check for string, int or float64 element in array or using slices.contains

Tuan Nguyen5 min read
programming

Golang concatenate or merge two or more slices

We can use copy() and append() function to merge or concatenate two or more slices in Golang.

Tuan Nguyen4 min read
programming

Golang Concat Slices - Remove Duplicates

In this article we learn about different methods which can be used to golang concat slices and remove duplicates

Tuan Nguyen5 min read
programming

Using golang constants in struct

In general, golang does not allow declaring a constant struct and constant within a struct. But we can use a custom function to perform this purpose

Tuan Nguyen3 min read
programming

Remove fields from struct or hide them in JSON

Learn how to remove fields from struct in golang or hide them.

Tuan Nguyen5 min read
programming

How to set default values in GO structs?

There are multiple ways to set default values in go struct. We have explored some of the possible ways such as using an init function, using a separate constructor function or using struct tags

Tuan Nguyen3 min read
programming

What is the zero value for time.Time in GO?

The zero value of type Time is January 1, year 1, 00:00:00.000000000 UTC. The IsZero() method returns whether a time has a zero value or not.

Tuan Nguyen3 min read
programming

Golang Fuzz Tutorial With Examples

In this guide, we'll go over the fundamentals of fuzzing in Go. We will create some fuzz tests for functions using the go command, and troubleshoot and debug

Tuan Nguyen8 min read
programming

Golang cobra Tutorial [With Examples]

Golang is a perfect programming language for creating CLI applications. In today's post, I will introduce you Cobra - a library for creating powerful modern

Tuan Nguyen8 min read
programming

Install Golang on Windows

Step by Step instructions to install golang on WIndows using official archive and choclatey

Tuan Nguyen4 min read
programming

Golang SQL Tutorial [CRUD Operation]

Step by Step instructions to create and manage QL database using golang sql module. Perform CRUD Operation using GO.

Tuan Nguyen10 min read
programming

Golang Tabs vs Space for indentation - Formatting Tips

The official recommendation is to use golang TABs for indentation and formatting. We can format go code automatically using go fmt or goimports command

Tuan Nguyen5 min read