Skip to content

Commit

Permalink
polish
Browse files Browse the repository at this point in the history
  • Loading branch information
Assassin718 committed Sep 18, 2024
1 parent 6245f4a commit f070af9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/util/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -416,5 +416,5 @@ func String2Bytes(s string) []byte {
Len: sh.Len,
Cap: sh.Len,
}
return *(*[]byte)(unsafe.Pointer(&bh))
return *(*[]byte)(unsafe.Pointer(&bh)) //nolint:gosec
}

0 comments on commit f070af9

Please sign in to comment.