Using Bcrypt for Password Encryption and Verification in Golang

Hi everyone, I am Hu Ge. Recently, while handling user login functionality in a project, I encountered a “common issue”—how to securely store user passwords. As a programmer who has been battling on the front line for years, I am very aware of how sensitive password storage is. Especially if the database is compromised, and … Read more

How to Handle HTTP Request Timeout in Golang

How to Handle HTTP Request Timeout in Golang

Hi everyone, I’m Hu Ge. A friend asked about the issue of HTTP request timeouts. His code always encounters timeout errors, and he wanted to know how I handle it. Today, let’s discuss how to elegantly solve the HTTP request timeout problem in Go. Common Pitfalls of HTTP Request Timeout First, let’s briefly talk about … Read more

Master Makefile in 5 Minutes

Master Makefile in 5 Minutes

Photographer: Product Manager This Sichuan restaurant tastes quite good In a previous article titled “Daily Skill: Writing Makefile for Python Projects”, we discussed Makefile. Many students have left messages in the public account backend wanting to further understand how to write a Makefile. Thus, we have today’s article. If you are currently using macOS or … Read more

Why Choose Golang Over Rust for Desktop App Development?

Source: https://zhuanlan.zhihu.com/p/665841850 The MoonGuard team chose Golang instead of Rust for their Krater desktop application because memory management, type safety, and ORM support are easier in Golang. Some challenges faced when using Rust and Tauri include: Difficulty in understanding Rust’s ownership and borrowing rules, Its strict type safety sometimes limits development speed, Difficulty in finding … Read more

Master Makefile in 5 Minutes

Master Makefile in 5 Minutes

Photographer: Product Manager This Sichuan restaurant tastes quite good In a previous article titled “One Skill a Day: Writing Makefile for Python Projects”, we discussed Makefile. Many students have left messages on the public account backend, wanting to learn more about how to write a Makefile. Thus, we have today’s article. If you are currently … Read more

Lightweight IoT Platform Hummingbird

Lightweight IoT Platform Hummingbird

If you are looking for a lightweight IoT platform, then Hummingbird IoT platform is definitely your best choice. Product Introduction Hummingbird is an ultra-lightweight IoT development platform implemented in Golang. Its core services are completely developed by our team. From the beginning of the platform’s design, lightweight and excellent performance have been our development principles. … Read more