We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 28a3f2d + 6cd654b commit 6b8bc3fCopy full SHA for 6b8bc3f
1 file changed
main.go
@@ -304,6 +304,9 @@ func parseExample(dir string, idx *exampleIndex) *example {
304
for _, fi := range fis {
305
fname := fi.Name()
306
lang := langOf(fname)
307
+ if lang != "gop" { // only support Go+ examples
308
+ continue
309
+ }
310
sourcePath := filepath.Join(dir, fname)
311
sourceSegs := parseAndRenderSegs(sourcePath)
312
if len(sourceSegs) != 0 { // ignore file with no segs
0 commit comments