MCPcopy Index your code
hub / github.com/codesuki/go-trending

github.com/codesuki/go-trending @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
60 symbols 96 edges 6 files 2 documented · 3%
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

Clock (Interface)
Clock specifies the needed time related functions used by the time series. To use a custom clock implement the interface [1 …
slidingwindow/slidingwindow.go
SlidingWindow (Interface)
(no doc) [1 implementers]
trending.go
Option (FuncType)
(no doc)
trending.go
SlidingWindowCreator (FuncType)
(no doc)
trending.go
TimeSeries (Interface)
(no doc)
trending.go
TimeSeriesCreator (FuncType)
(no doc)
trending.go

Core symbols most depended-on inside this repo

Insert
called by 11
trending.go
Now
called by 6
slidingwindow/slidingwindow.go
updateMax
called by 2
item.go
Max
called by 2
trending.go
Range
called by 2
trending.go
advance
called by 2
slidingwindow/slidingwindow.go
take
called by 1
score.go
threshold
called by 1
score.go

Shape

Method 23
Function 22
Struct 7
FuncType 4
Interface 3
TypeAlias 1

Languages

Go100%

Modules by API surface

trending.go24 symbols
slidingwindow/slidingwindow.go15 symbols
item.go9 symbols
score.go7 symbols
trending_test.go4 symbols
slidingwindow/slidingwindow_test.go1 symbols

For agents

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

⬇ download graph artifact