diff options
| author | Russ Cox <rsc@golang.org> | 2022-04-03 16:30:08 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2022-04-11 16:31:46 +0000 |
| commit | 6eceabf11936638c7000a7a12b4c285ffe9b58f9 (patch) | |
| tree | 84b1449e805e7327fbb5531a60c046c3c3ed2079 /src/encoding/json/encode.go | |
| parent | e4e033a74cfcc75cb828cbd37e8279703e4620a3 (diff) | |
| download | go-6eceabf11936638c7000a7a12b4c285ffe9b58f9.tar.xz | |
go/doc/comment: parse and print headings
[This CL is part of a sequence implementing the proposal #51082.
The design doc is at https://go.dev/s/godocfmt-design.]
Implement both old-style and new-style headings, like:
Text here.
Old Style Heading
More text here.
# New Style Heading
More text here.
For #51082.
Change-Id: I0d735782d0d345794fc2d4e1bdaa0251b8d4bba2
Reviewed-on: https://go-review.googlesource.com/c/go/+/397284
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Diffstat (limited to 'src/encoding/json/encode.go')
0 files changed, 0 insertions, 0 deletions
