Tagged articles
5 articles
Page 1 of 1
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.

Exception HandlingJSONgobox
0 likes · 8 min read
Unlock Go’s gobox Framework: Exception Handling, Utilities & Practical Examples
Liangxu Linux
Liangxu Linux
Nov 7, 2018 · Operations

Mastering the Linux date Command: Formats, Calculations & Timestamp Conversions

This guide explains why accurate date‑time handling matters for tasks like log naming, introduces the common date format specifiers, and provides step‑by‑step shell examples for retrieving the current time, custom‑formatted dates, relative dates such as yesterday or one hour ago, and converting between human‑readable dates and Unix timestamps.

Bashdate commandtime formatting
0 likes · 5 min read
Mastering the Linux date Command: Formats, Calculations & Timestamp Conversions