Skip to content

Commit bcb92de

Browse files
committed
fix 'gd doc' matching
1 parent 857993b commit bcb92de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/gd/docs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ func findGdDocMatches(query string) ([]gdDocMatch, error) {
108108
methodName := parts[1]
109109

110110
// Check if this matches our query (case-insensitive substring match)
111-
if methodName != query {
111+
if methodName != query && gdTag != query {
112112
continue
113113
}
114114

0 commit comments

Comments
 (0)