Tony Bai

Understanding Go Static Single Assignment (SSA) by Example

Permalink to this article – https://ift.tt/BDr34SW In the previous article , “Understanding Go Inline Optimization by Example” , we explored the inline optimizations that the Go compiler performs mid-compilation. The inline optimization is based on the IR intermediate representation, but there is more than one IR representation in the Go compilation process, which is consistent …

Understanding Go Static Single Assignment (SSA) by Example Read More »

Use viper to merge yaml configuration files

Permalink to this article – https://ift.tt/m0r1zWO As a small factory, our infrastructure is not complete enough. The project manager informed us that our system will be in the second-to-last stage environment and production environment in the near future. Therefore, considering the deployment efficiency of operation and maintenance personnel, we urgently developed a One-click installation script …

Use viper to merge yaml configuration files Read More »

How to install Go app as system service like gitlab-runner

Permalink to this article – https://ift.tt/RyIoGJS In the article “Let reviewdog support gitlab-push-commit and keep the lower limit of code quality” , gitlab-runner (an application developed in Go language) installs itself as a system service through the install command provided by itself (as follows): # Create a GitLab CI user sudo useradd –comment ‘GitLab Runner’ …

How to install Go app as system service like gitlab-runner Read More »

There are no security loopholes, you say it doesn’t count, govulncheck is the referee!

Permalink to this article – https://ift.tt/CPvKi1H On September 7, 2022, the Go security team published an article “Vulnerability Management for Go” on the Go official blog, officially introducing Go’s tools and solutions to security vulnerability management to all Gophers. In this post, the Go security team introduced a command line tool called govulncheck . This …

There are no security loopholes, you say it doesn’t count, govulncheck is the referee! Read More »

Let reviewdog support gitlab-push-commit and keep the lower limit of code quality

Permalink to this article – https://ift.tt/pNDa0qx 1. Means of Code Quality Assurance Since the birth of the world’s first high-level computer programming language Fortran in the 1950s, the programming industry has gone through nearly 70 years. Although it has been a lot of years, it is undeniable that software production is still not as standardized …

Let reviewdog support gitlab-push-commit and keep the lower limit of code quality Read More »

The practice of issue-driven software development based on multiple labels

Permalink to this article – https://ift.tt/0gkIBAC Software eats the world, open source eats software! The issue-driven development model based on the issue tracking system not only has an important impact on the development process of open source systems, but in the field of commercial software development, more and more companies and organizations are also using …

The practice of issue-driven software development based on multiple labels Read More »

Using Go language to realize bidirectional data exchange between kernel mode and user mode of eBPF program

Permalink to this article – https://ift.tt/VeYs7P5 In the previous two articles, whether the eBPF program developed in C language or the eBPF program developed in Go is hello world level, it may be useful, but it is not very practical. Generally speaking, a practical eBPF program has data exchange between its kernel mode part and …

Using Go language to realize bidirectional data exchange between kernel mode and user mode of eBPF program Read More »