Tag

gobox

0 views collected around this technical thread.

360 Tech Engineering
360 Tech Engineering
Jun 27, 2019 · Backend Development

Introducing gobox: A Lightweight Go Framework for HTTP Request Handling

This article introduces gobox, a self‑developed lightweight Go framework that treats each module as a box, explains its HTTP request handling architecture, key components such as System, Router, SimpleRouter, ActionContext, Controller, demonstrates graceful‑restart support with gracehttp, and provides a complete runnable example with sample curl outputs.

BackendGoGraceful Restart
0 likes · 8 min read
Introducing gobox: A Lightweight Go Framework for HTTP Request Handling
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
May 28, 2019 · Backend Development

Unlock Go’s gobox Framework: Exception Handling, Utilities & Practical Examples

This article introduces the lightweight Go framework gobox, demonstrating its exception definition, common utility functions such as slice deduplication, file and directory existence checks, recursive file listing, JSON file saving and parsing, substring extraction, time formatting constants, and random number generation based on timestamps, all with clear code examples.

Backend DevelopmentException HandlingGo
0 likes · 8 min read
Unlock Go’s gobox Framework: Exception Handling, Utilities & Practical Examples
360 Tech Engineering
360 Tech Engineering
May 28, 2019 · Backend Development

Introducing gobox: A Lightweight Go Framework with Modules and Usage Examples

gobox is a self‑developed lightweight Go framework comprising various utility boxes such as color, crypto, exception, gohttp, golog, and gomisc, with detailed explanations of its origin, naming, supported modules, and extensive code examples demonstrating usage for logging, error handling, slice deduplication, file checks, JSON handling, and time utilities.

BackendExampleGo
0 likes · 9 min read
Introducing gobox: A Lightweight Go Framework with Modules and Usage Examples