WithPadding specifies the number of lines to include before and after the selected line in the [Snippet].
(padding int)
| 114 | // WithPadding specifies the number of lines to include before and after the |
| 115 | // selected line in the [Snippet]. |
| 116 | func WithPadding(padding int) SnippetOption { |
| 117 | return &paddingOption{padding: padding} |
| 118 | } |
| 119 | |
| 120 | type paddingOption struct { |
| 121 | padding int |
no outgoing calls
searching dependent graphs…