WithLine specifies the line number that the [Snippet] should center around and point to.
(line int)
| 87 | // WithLine specifies the line number that the [Snippet] should center around |
| 88 | // and point to. |
| 89 | func WithLine(line int) SnippetOption { |
| 90 | return &lineOption{line: line} |
| 91 | } |
| 92 | |
| 93 | type lineOption struct { |
| 94 | line int |
no outgoing calls
searching dependent graphs…