Closed Rachelint closed 2 years ago
I figure it out that it is an enhancement for gofmt
introduced by go1.19 that causes the make check
failed.:
Go 1.19 adds support for links, lists, and clearer headings in doc comments. As part of this change, gofmt now reformats doc comments to make their rendered meaning clearer. See “Go Doc Comments” for syntax details and descriptions of common mistakes now highlighted by gofmt. As another part of this change, the new package go/doc/comment provides parsing and reformatting of doc comments as well as support for rendering them to HTML, Markdown, and text.
I will fix these comments, and upgrade to go1.19.
Describe this problem
Make build failed due to fmt check in go 1.19.
Steps to reproduce
Expected behavior
Build success.
Additional Information