Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style: unified space #612

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Commits on Sep 30, 2024

  1. style: unified space

    调整了一些输出的空格风格,例如把 `str:{f}`、`str :{f}`、`str : {f}` 改为 `str: {f}`。
    剪裁没必要的空格,例如部分字符串中间不规律的双重空格、尾部的空格
    
    发现但未在此次 commit 更改,需要讨论的:
    
    pkg/proc/proc_test.go#L40 建议 `:` 换成 `=`
    pkg/event_processor/base_event.go#L150-166 + user/config/mysqld.go#L107 两个半型冒号
    user/envent/event_gnutls.go#L81-97 `TID` 与 `Type` 位置对调且 `String()` 函数中 TYPE 全大写
    user/envent/event_mastersec_gotls.go#L75 Label 似乎缺少半型冒号
    user/envent/event_nspr.go#L85 `Payload` 输出似乎缺少换行
    user/envent/event_openssl.go#L153-175 `String` 与 `StringHex` 日志输出 `Send`/`Recv` 与 `Version` 位置对调
    xxxxxliil authored Sep 30, 2024
    Configuration menu
    Copy the full SHA
    14679d4 View commit details
    Browse the repository at this point in the history