Skip to content

Fix non-constant fmt.Printf calls in example - #86

Open
HNO3Miracle wants to merge 1 commit into
nxadm:masterfrom
HNO3Miracle:fix-example-printf-vet
Open

Fix non-constant fmt.Printf calls in example#86
HNO3Miracle wants to merge 1 commit into
nxadm:masterfrom
HNO3Miracle:fix-example-printf-vet

Conversation

@HNO3Miracle

Copy link
Copy Markdown

Summary:

  • Replace string-concatenated fmt.Printf calls with fmt.Print in the JSON example.
  • This satisfies current Go vet without changing example output.

Testing:

  • go test ./...

Signed-off-by: HNO3Miracle <xiangao.or@isrc.iscas.ac.cn>
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