Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Fripine committed Jan 5, 2025
1 parent b1440ce commit b34e6e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/gocq/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,7 @@ func (p protocolLogger) Dump(data []byte, format string, arg ...any) {
_ = os.WriteFile(dumpFile, data, 0o644)
}

// 兼容lgrOnebot的转换函数

Check failure on line 520 in cmd/gocq/main.go

View workflow job for this annotation

GitHub Actions / lint

exported: comment on exported function JsParse should be of the form "JsParse ..." (revive)
func JsParse(js []byte) (*auth.AppInfo, error) {
trans := struct {
OS string `json:"Os"`
Expand Down

0 comments on commit b34e6e1

Please sign in to comment.