Skip to content

Commit 99d5e89

Browse files
committed
fix: correct endpoint count to 37 in CLAUDE.md + remove dead INTERFACE_METHOD pattern
Review found: documented endpoint count was 39 but actual bullet count is 37 (21 GraphController + 9 TopologyController + 4 FlowController + 3 IntelligenceController). Also removed unused INTERFACE_METHOD Pattern constant from GoLanguageExtractor left over after extractInterfaceHints was rewritten to use RECEIVER_METHOD.
1 parent 92a34bd commit 99d5e89

2 files changed

Lines changed: 1 addition & 7 deletions

File tree

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ code-iq serve /path/to/repo # needs enrich if using index
171171

172172
## Server Endpoints (all read-only)
173173

174-
### REST API (`/api`) -- 39 endpoints
174+
### REST API (`/api`) -- 37 endpoints
175175

176176
**GraphController** (`/api`):
177177
- `GET /api/stats` -- Rich categorized statistics (graph, languages, frameworks, infra, connections, auth, architecture)

src/main/java/io/github/randomcodespace/iq/intelligence/extractor/go/GoLanguageExtractor.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,6 @@ public class GoLanguageExtractor implements LanguageExtractor {
5555
private static final Pattern SINGLE_IMPORT =
5656
Pattern.compile("^import\\s+(?:\\w+\\s+)?\"([^\"]+)\"", Pattern.MULTILINE);
5757

58-
/**
59-
* Method signature in an interface: {@code MethodName(params) ReturnType}.
60-
*/
61-
private static final Pattern INTERFACE_METHOD =
62-
Pattern.compile("^\\s+(\\w+)\\s*\\(", Pattern.MULTILINE);
63-
6458
/**
6559
* Go receiver method: {@code func (varName StructName) MethodName(}.
6660
* Captures: group(1) = struct name (with optional pointer *), group(2) = method name.

0 commit comments

Comments
 (0)