MCPcopy Index your code
hub / github.com/Evertras/go-interface-examples

github.com/Evertras/go-interface-examples @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
65 symbols 137 edges 21 files 38 documented · 58%
What it actually does AI analysis from the code graph — generated when you open this
loading…

Extension points exported contracts — how you extend this code

CurrentChampionGetter (Interface)
CurrentChampionGetter can get the current champion somehow This is a declaration of intent. Whoever asks for this inte [3 …
outside-world/no-velociraptors/server.go
UserDataStore (Interface)
UserDataStore can access and modify user data This is a little more broad and we're assuming the same type will have al [2 …
local-interfaces/handlers/user.go
TopUserGetter (Interface)
TopUserGetter gets top users from somewhere Notice that we're tying ourselves to the database package here, but we'll l [2 …
local-interfaces/leaderboard/leaderboard.go
TopScoreNotifier (Interface)
TopScoreNotifier notifies users they have a high score As above, focus on how this feels to read in terms of understand [2 …
local-interfaces/leaderboard/leaderboard.go

Core symbols most depended-on inside this repo

gslCurrentChampionHandler
called by 3
outside-world/less-velociraptors/server.go
NewGSLDataStore
called by 3
outside-world/less-velociraptors/data.go
gslCurrentChampionHandler
called by 3
outside-world/no-velociraptors/server.go
New
called by 3
local-interfaces/leaderboard/leaderboard.go
NotifyTopPlayers
called by 3
local-interfaces/leaderboard/leaderboard.go
GetCurrentChampion
called by 2
outside-world/no-velociraptors/server.go
DeleteUserHandler
called by 2
local-interfaces/handlers/user.go
runServer
called by 1
outside-world/less-velociraptors/server.go

Shape

Function 30
Method 21
Struct 10
Interface 4

Languages

Go100%

Modules by API surface

local-interfaces/db/db.go9 symbols
local-interfaces/leaderboard/leaderboard.go7 symbols
local-interfaces/leaderboard/leaderboard_test.go6 symbols
local-interfaces/handlers/user_test.go5 symbols
local-interfaces/handlers/user.go5 symbols
outside-world/no-velociraptors/server_test.go4 symbols
outside-world/no-velociraptors/server.go4 symbols
local-interfaces/notifications/notifier.go4 symbols
outside-world/no-velociraptors/data.go3 symbols
outside-world/less-velociraptors/data.go3 symbols
outside-world/velociraptors/server.go2 symbols
outside-world/simple/server.go2 symbols

For agents

$ claude mcp add go-interface-examples \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact