Skip to main content
Home
Gerald Villorente

Main navigation

  • Home
  • Blog

Breadcrumb

  1. Home

golang

By gerald, 15 October, 2023
Golang

Understanding Pointers in Go: A Practical Guide

When working with the Go programming language (Golang), you'll often encounter the concept of pointers. Pointers are a fundamental feature in Go, and they play a crucial role in manipulating data and managing memory efficiently. In this guide, we'll dive into what pointers are, why they're important, and provide practical examples to illustrate their usage.

  • pointers
  • golang
By gerald, 15 October, 2023
golang

Understanding Variadic Parameters in Go (Golang)

Go (Golang) is known for its simplicity and power when it comes to writing efficient and clean code. One of the features that contributes to this is the use of variadic parameters. In this blog post, we will explore variadic parameters in Go and provide real-world examples of how they can be employed.

  • variadic
  • golang
  • go function
  • go parameter
By gerald, 6 April, 2023
php

Getting Up to Speed with Golang: A Guide for PHP Developers

This blog post offers a helpful guide for PHP developers who want to learn Golang. It begins by suggesting that developers start with the official Golang tour, which covers the basics of the language. The post then explains the differences between Golang and PHP syntax, including Golang's static typing and lack of a native class hierarchy. To help PHP developers get up to speed with Golang concurrency, the post provides an example of how to use goroutines and channels to implement a simple concurrent program.

  • php
  • golang
  • programming
By gerald, 3 April, 2023
golang

Understanding Public and Private Functions in Go

In Go programming language, functions can be defined as either private or public, which determines their accessibility from outside the package. A function can be accessed from another package only if it is declared as public, while a private function can only be accessed within the same package.

  • golang
  • functions
  • programming
By gerald, 3 April, 2023
golang

Getting Started with Golang Dependency Injection: A Beginner's Guide

Dependency Injection is an essential concept in software development that enables you to build loosely coupled and easily testable code. Golang is a programming language that allows you to implement Dependency Injection elegantly and straightforwardly.

  • golang
  • dependency injection
  • programming
By gerald, 3 April, 2023
golang

Understanding Go's Import and Package System: Best Practices and Common Mistakes

Go is a programming language that emphasizes simplicity, reliability, and performance. One of the key features of Go is its package system, which allows developers to organize and reuse code.

  • golang
  • import
  • packages
  • programming
By gerald, 3 April, 2023
struct

Getting Started with Go Struct: A Comprehensive Guide

Go is a popular programming language for building scalable and efficient applications. One of the key features of Go is its support for struct, which is a composite data type that allows you to group related data together.

  • golang
  • struct
  • programming
By gerald, 2 April, 2023
json

Working with JSON in Golang: Best Practices and Examples

In modern programming, data is often exchanged in the form of JSON (JavaScript Object Notation) due to its simplicity and flexibility. Golang is a popular language that supports working with JSON natively.

  • golang
  • json
  • programming
By gerald, 2 April, 2023
cli

Building Command-Line Applications in Golang with Cobra and Viper

Cobra is a CLI library that makes it easy to create powerful and complex command-line applications. It provides a simple interface for adding commands, flags, and arguments, and supports subcommands and nested commands. Cobra also generates help and usage information for your application automatically.

  • golang
  • programming
  • cobra-cli
  • viper
  • command-line
By gerald, 2 April, 2023
golang

Exploring Golang's Control Structures for Efficient Programming

Golang, also known as Go, is a programming language that has gained popularity in recent years due to its simplicity, efficiency, and concurrency features. One of the essential components of any programming language is its control structures.

  • golang
  • programming

Pagination

  • 1
  • Next page
golang

Recent content

  • Fixing the "Malware Detected" Error in Docker for macOS
  • How to Manage Large Log Files in Go: Truncate a Log File to a Specific Size
  • Taming the Slowpokes: A Guide to Conquering Sluggish MySQL Queries
  • Taming the Slow Beast: Using Percona pt-query-digest to Diagnose MySQL Bottlenecks
  • Speed Up Your Web App: The Ins and Outs of Redis
  • Cherishing the Present: A Timeless Gift for Your Loved Ones
  • Diving Deep: Redis Slowlog vs. Redis MONITOR
  • MSET vs. HSET: Storing Data Efficiently in Redis
  • Installing TP-Link AC600 Wireless Adapter on Manjaro with Realtek RTL8811AU
  • Understanding Variadic Parameters in Go (Golang)
RSS feed

This website is powered by Drupal and Pantheon WebOps Platform.

pantheon