SetCodeExampleFilesDirectory sets the directory to search for codeExamples.
(directoryPath string)
| 102 | |
| 103 | // SetCodeExampleFilesDirectory sets the directory to search for codeExamples. |
| 104 | func SetCodeExampleFilesDirectory(directoryPath string) func(*Operation) { |
| 105 | return func(o *Operation) { |
| 106 | o.codeExampleFilesDir = directoryPath |
| 107 | } |
| 108 | } |
| 109 | |
| 110 | // ParseComment parses comment for given comment string and returns error if error occurs. |
| 111 | func (operation *Operation) ParseComment(comment string, astFile *ast.File) error { |
no outgoing calls
searching dependent graphs…