current location:Home > Technical Articles > Backend Development > Golang
- Direction:
- All web3.0 Backend Development Web Front-end Database Operation and Maintenance Development Tools PHP Framework Daily Programming WeChat Applet Common Problem Other Tech CMS Tutorial Java System Tutorial Computer Tutorials Hardware Tutorial Mobile Tutorial Software Tutorial Mobile Game Tutorial
- Classify:
-
- How to Implement Module Flag in a Modular System in Golang
- Module Control with Feature Flags The Feature Flags technique allows you to activate or deactivate system modules without modifying the source code. This control can be implemented via database, configuration files, environment variables,
- Golang 440 2025-01-17 22:12:14
-
- Exploring Unicode with Go and Vue.js
- Unicode: The cornerstone of modern computing, ensuring that text in any language, style, and even emoji can be consistently represented and manipulated. This article will explore the Unicode standard and use Golang and Vue.js to develop a project that uses Unicode table offsets to convert text into bold, italic, bold italic and underline styles, providing a practical and efficient text processing method. Project structure Golang backend Handles requests from the frontend, applying transformations to text based on Unicode table offsets. Vue.js front end Provides a simple interface where users can enter text, send it to the backend, and view the styled results. File structure TextCo
- Golang 336 2025-01-17 22:09:10
-
- Mastering Goroutine Pool Management in Go: Boost Performance and Scalability
- As a best-selling author, I encourage you to explore my books on Amazon. Remember to follow me on Medium for updates and support! Your engagement means a great deal. Efficient goroutine pool management is vital for creating high-performance, scalab
- Golang 394 2025-01-17 20:03:09
-
- Build an OTP-Based Authentication Server with Go: Part File Uploads and Graceful Shutdown
- This installment refines our Go authentication server by adding file upload capabilities, streamlining development with a Makefile, and implementing graceful server shutdown. This prevents abrupt termination and ensures all in-progress tasks complet
- Golang 934 2025-01-17 18:03:14
-
- Why Everyone Falls in Love with Go!
- Go, also known as Golang, has become a favorite among developers globally. Let's delve into the reasons behind its widespread appeal. ✨ Simplicity and Elegance Clean Syntax: Go boasts a straightforward syntax, making it remarkably easy to learn, ev
- Golang 960 2025-01-17 14:04:11
-
- Go Channel Unlocked: How They Work
- In-depth Golang Channel: Implementation principles and performance optimization suggestions Golang's Channel is a key component of its CSP concurrency model and a bridge for communication between Goroutines. Channel is frequently used in Golang, and it is crucial to have a deep understanding of its internal implementation principles. This article will analyze the underlying implementation of Channel based on the Go 1.13 source code. Basic usage of Channel Before formally analyzing the implementation of Channel, let’s review its basic usage: package main import "fmt" func main() { c := make(
- Golang 422 2025-01-17 02:11:10
-
- OSD : My Second Choice
- Choosing My Next Open Source Project My open-source journey continues! I'm focusing on two repositories: one primary (80% of my effort) and one secondary (20%). I've already selected chatcraft.org as my secondary project. Now, it's time to choose m
- Golang 188 2025-01-16 14:18:58
-
- [Language] Tracer: Open Telemetry, Golang, and Jagger Simple Implementation
- Tracer Tracer is part of Observability which plays an important role in the implementation of Microservices Architecture and provides a 'Trace' overview of the processes running in an application logic. Simply put, in Webservice, Tr
- Golang 609 2025-01-16 14:14:59
-
- Golang - How a Chef and Waiter Teach the Single Responsibility Principle
- Welcome to the first installment of my SOLID principles series focused on Golang! This series will dissect each SOLID design principle, guiding you toward creating more maintainable and scalable Go applications. We begin with the Single Responsibili
- Golang 536 2025-01-16 12:21:59
-
- The two-pointer technique
- MaximizingContainerAreawithTwoPointersinGoInalgorithmsthatworkwithsoulistarrays,eventhetwopointertechniquesofthischapelefficiency.Inthisarticle,wewillapplyittotheclassic"ContainerWithMostWater"problem,whichfindsthelargestareabetweentworowsv
- Golang 1021 2025-01-16 10:58:58
-
- Preventing SQL Injection with Raw SQL and ORM in Golang
- SecureGolangDatabaseInteractions:PreventingSQLInjectionIntoday'sdevelopmentlandscape,securecodingpracticesareparamount.ThisarticlefocusesonsafeguardingGolangapplicationsfromSQLinjectionvulnerabilities,acommonthreatwheninteractingwithdatabases.We'llex
- Golang 851 2025-01-15 20:22:43
-
- Prevent Race Conditions Like a Pro with sync.Mutex in Go!
- Master sync.Mutex in Go language and effectively avoid race conditions! Does your Go program experience unpredictable behavior, such as creating multiple orders with the same order number during a large promotion? ?This is usually a race condition caused by shared resources not being synchronized correctly. In my latest article, I will cover the following: ✅ The concept and working mechanism of sync.Mutex in Go language ✅ A practical code example showing how to fix the race condition ✅ Practical application case: fixing the order number generator ✅ The most Best practices and comparison of sync.Mutex vs sync.RWMutex? Read the full article: https://www.linkedin.com/pulse/preve
- Golang 713 2025-01-15 20:13:46
-
- Building a Semantic Search Engine with OpenAI, Go, and PostgreSQL (pgvector)
- In recent years, vector embeddings have become the basis of modern natural language processing (NLP) and semantic search. Instead of relying on keyword searches, vector databases compare the "meaning" of text through numerical representations (embeddings). This example demonstrates how to create a semantic search engine using OpenAI embedding, Go, and PostgreSQL with the pgvector extension. What is embedding? An embedding is a vector representation of text (or other data) in a high-dimensional space. If two pieces of text are semantically similar, their vectors will be close to each other in this space. By storing embeddings in a database like PostgreSQL (with pgvector extension), we can perform similarity searches quickly and accurately. Why choose
- Golang 836 2025-01-15 11:09:44
-
- Bracelet in DSA
- In the world of programming languages, choosing the ideal language to learn Data Structures and Algorithms (DSA) has a direct impact on the learning and efficiency curve. Golang (Go) stands out as an excellent option for this journey, for several reasons: 1. Simplicity and CL
- Golang 411 2025-01-15 09:58:43
-
- Go Basics: Syntax and Structure
- WelcometoparttwoofourGoProgrammingTutorialSeries,designedtobuildasolidGo(Golang)foundation.Thisarticle,focusingonGoFundamentals:SyntaxandStructure,coverseverythingfromyourfirst"Hello,World!"programtovariables,constants,datatypes,andmore.Whe
- Golang 364 2025-01-15 06:51:47