uber-go / mock

GoMock is a mocking framework for the Go programming language.
Apache License 2.0
1.98k stars 107 forks source link

go fmt with Go 1.20 #16

Closed shogo82148 closed 1 year ago

shogo82148 commented 1 year ago

from Go 1.19, go fmt reformats doc comments.

https://go.dev/doc/go1.19#go-doc

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.