Tagged articles
10 articles
Page 1 of 1
Code Wrench
Code Wrench
Jan 11, 2026 · Backend Development

Master Viper: Priority Lookup, Multi‑Source Merging & Concurrency Risks

This article delves into Viper’s internal architecture, explaining its layered storage and priority lookup mechanism, how it merges environment variables, config files, and defaults, and highlights concurrency safety concerns, offering practical guidelines and code snippets to avoid common pitfalls when using Viper in Go projects.

GoViperbest practices
0 likes · 9 min read
Master Viper: Priority Lookup, Multi‑Source Merging & Concurrency Risks
Architecture & Thinking
Architecture & Thinking
Aug 20, 2024 · Backend Development

Master Go Configuration with Viper: A Step-by-Step Guide

This guide walks through installing Viper, creating common and environment‑specific YAML configuration files, mapping them to Go structs, setting up a global configuration holder, and initializing the config with live watching, providing a complete, runnable example for Go backend projects.

BackendConfigurationGo
0 likes · 9 min read
Master Go Configuration with Viper: A Step-by-Step Guide
FunTester
FunTester
Aug 16, 2024 · Backend Development

Master Go Configuration with Viper: Quick Setup and Advanced Features

Learn how to install the Viper library in Go, read and parse YAML, JSON, TOML, and ENV files, and leverage features like default values, automatic reload, environment variable binding, merging configs, dynamic updates, and struct unmarshalling through clear code examples.

BackendConfigurationGo
0 likes · 5 min read
Master Go Configuration with Viper: Quick Setup and Advanced Features
Architecture Development Notes
Architecture Development Notes
Jul 26, 2024 · Backend Development

Master Go Configuration with Viper: Setup, Usage, and Advanced Tips

This article provides a comprehensive guide to Viper, a powerful Go configuration library, covering its core advantages, step‑by‑step basic usage—including installation, defaults, file handling, environment variables, command‑line flags, remote providers—and advanced techniques such as sub‑tree reading, custom decoding, and managing multiple Viper instances.

Configuration ManagementGoViper
0 likes · 10 min read
Master Go Configuration with Viper: Setup, Usage, and Advanced Tips
Go Programming World
Go Programming World
May 2, 2024 · Backend Development

Comprehensive Guide to Using Viper for Go Application Configuration

This article provides an in‑depth tutorial on Viper, a full‑featured Go configuration library, covering its features, usage scenarios, loading priorities, reading from files, environment variables, command‑line flags, remote stores, and best practices for managing application settings.

BackendDevOpsGo
0 likes · 22 min read
Comprehensive Guide to Using Viper for Go Application Configuration
MaGe Linux Operations
MaGe Linux Operations
Jul 19, 2022 · Backend Development

Build a Go‑Based SMS Verification Login with Gin and Viper

This guide walks through creating a phone‑number SMS verification login system in Go using Gin, Viper, and Tencent Cloud SMS, covering service registration, configuration loading, client implementation with functional options, code generation, sending, and Redis‑based verification.

BackendGinSMS
0 likes · 8 min read
Build a Go‑Based SMS Verification Login with Gin and Viper
Sohu Tech Products
Sohu Tech Products
Jun 3, 2020 · Mobile Development

VIPER Architecture in iOS: A Practical Implementation

This article explains the VIPER architectural pattern for iOS development, detailing each component (View, Interactor, Presenter, Entity, Router), providing Swift protocols and default implementations, and demonstrating a complete movie‑list example with reusable table‑view components and data handling.

ListDataProtocolPresenterRouter
0 likes · 24 min read
VIPER Architecture in iOS: A Practical Implementation
21CTO
21CTO
Apr 28, 2016 · Mobile Development

Choosing the Right iOS Architecture: MVC, MVP, MVVM, VIPER Compared

This article reviews the most common iOS architectural patterns—MVC, MVP, MVVM, and VIPER—explaining their responsibilities, testability, and ease of use, and helps developers decide which pattern best fits their project’s complexity and maintenance needs.

MVCMVVMMobile Development
0 likes · 19 min read
Choosing the Right iOS Architecture: MVC, MVP, MVVM, VIPER Compared
21CTO
21CTO
Jan 16, 2016 · Mobile Development

Choosing the Right iOS Architecture: MVC, MVP, MVVM, and VIPER Compared

This article reviews the most popular iOS architectural patterns—MVC, MVP, MVVM, and VIPER—explaining their responsibilities, testability, and maintainability, and provides concise code examples so developers can decide which pattern best fits their project requirements.

MVCMVPMVVM
0 likes · 21 min read
Choosing the Right iOS Architecture: MVC, MVP, MVVM, and VIPER Compared