Tony Bai

Talk about godoc, go doc and pkgsite

Permalink to this article – https://ift.tt/OSaJdYV Just like the Go built-in unit testing framework discussed in the previous article , Go, which not only pays attention to language features, but also does not forget to provide overall environment features for Go software projects, has defined how to write code documents through comments in the source

Talk about godoc, go doc and pkgsite Read More »

Understand Go subtest in one article

Note: The first picture in this article is based on secondary processing of pictures generated by Lexica AI . Permalink to this article – https://ift.tt/VYQz2qF Unit testing is a crucial part of software development. Its significance includes but not limited to the following aspects: Improve code quality: Unit testing can ensure the correctness, reliability and

Understand Go subtest in one article Read More »

Small factory internal private Go module pulling scheme 3

Permalink to this article – https://ift.tt/0xHmYW6 1. Dependence In the past two years, our Go team has built an internal pull private warehouse completely according to the plans in the previously written “Small Factory Internal Private Go Module Pulling Plan” and “Small Factory Internal Private Go Module Pulling Plan (Continued)” The infrastructure is generally good,

Small factory internal private Go module pulling scheme 3 Read More »

Noteworthy changes in Go 1.20

Permalink to this article – https://ift.tt/NqUDC61 On February 1, 2023, US time, Robert Griesemer , the only father of the Go language who has not yet retired, officially released the Go 1.20 version on the Go official blog on behalf of the Go core development team. As Russ Cox said at the 2022 GopherCon conference

Noteworthy changes in Go 1.20 Read More »

Serialize Roaring Bitmap to JSON

Permalink to this article – https://ift.tt/mTtyrvR Recently , bitmap index (bitmap index) was used when implementing a data structure. This article will briefly talk about bitmap (bitmap). 1. What is a bitmap The bitmap index is implemented using a bit array (bit array, also called bitset, usually called a bitmap (bitmap), and the name bitmap

Serialize Roaring Bitmap to JSON Read More »

Talk about Go and TLS 1.3

Permalink to this article – https://ift.tt/VhNcyn3 Except for some review articles and translations, the topic selection of my articles mostly comes from the problems encountered in actual work and study. This time, let’s talk about a problem we encountered recently: how to speed up the establishment of massive connections based on TLS secure communication ?

Talk about Go and TLS 1.3 Read More »

2022 Blog Review and Summary

Permalink to this article – https://ift.tt/wFHvlSW 2022 is also a very busy and fulfilling year for me. Although compared with 2021, there are not so many achievements ^_^. As Erbao grew up, I found that my leisure time was further “compressed”. Fortunately, after Dabao went to junior high school and realized the importance of self-driven

2022 Blog Review and Summary Read More »

Talk about the implementation of the increase and decrease operations of Prometheus Gauge

Permalink to this article – https://ift.tt/RIcUr15 1. What is a gauge? Friends who are familiar with Prometheus know that Prometheus provides four types of indicators : Counter Gauge Histogram Summary Histogram and Summary are one type, but it is a little more complicated to understand, so we won’t mention it here. Counter, as the name

Talk about the implementation of the increase and decrease operations of Prometheus Gauge Read More »

Why Go is successful

Permalink to this article – https://ift.tt/mKW7HCw When you get started with the Go language, you are mostly immersed in the Go grammar, busy practicing or quickly completing the company’s projects, and have no time to think. But when everyone is about to advance and sprint to the advanced stage, I suggest that you stop being

Why Go is successful Read More »

Go, 13th anniversary [translation]

Permalink to this article – https://ift.tt/M0mHtNY When the people in China were holding their mobile phones for the Double Eleven shopping festival and were busy paying the balance and spikes, Russ Cox of the Go core team, on behalf of the Go language project team, published “Thirteen Years of Go” on the Go official blog.

Go, 13th anniversary [translation] Read More »

Understand the Go standard library context package through examples

The original weibo account is in jy state, temporarily use the small account https://ift.tt/OZJI1EL, welcome everyone to pay attention! “Gopher Tribe” Knowledge Planet Double Eleven Newcomer Special, get an instant discount of 88 yuan when you join the coupon – https://ift.tt/AjY1t0Q Permalink to this article – https://ift.tt/YMmGSxl Since the context package was added to the

Understand the Go standard library context package through examples Read More »