Skip to content

Commit 8fd09d3

Browse files
authored
docs: deprecate reformat-tags option
1 parent 75d6167 commit 8fd09d3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,10 @@ The original behavior can be used by running the tool with the
115115

116116
### Struct tag reformatting
117117

118+
> [!IMPORTANT]
119+
> This option is deprecated and will be potentially removed in a future version.
120+
> See [this issue](https://github.com/segmentio/golines/issues/176) and [this issue](https://github.com/golang/go/issues/16918) for more details.
121+
118122
In addition to shortening long lines, the tool also aligns struct tag keys;
119123
see the associated [before](shorten/testdata/struct_tags/struct_tags.go)
120124
and [after](shorten/testdata/struct_tags/struct_tags.go.golden)

0 commit comments

Comments
 (0)