Skip to content

fix(v2/hcore): correct fmt usage and formatting issues#126

Open
nisemenov wants to merge 1 commit intohiddify:mainfrom
nisemenov:fix/tests-failed
Open

fix(v2/hcore): correct fmt usage and formatting issues#126
nisemenov wants to merge 1 commit intohiddify:mainfrom
nisemenov:fix/tests-failed

Conversation

@nisemenov
Copy link
Copy Markdown

Problem

Some fmt usages may lead to incorrect formatting or runtime issues:

  • fmt.Sprint used with formatting directives (%d)
  • fmt.Printf called with non-constant format strings

Solution

  • Replace fmt.Sprint with fmt.Sprintf where needed
  • Use explicit format strings in fmt.Printf / log.Printf

These changes improve correctness and avoid potential formatting bugs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant