Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/SMNETSTUDIO/Groq2API
/ InitRouter
Function
InitRouter
router/chat.go:175–181 ·
view source on GitHub ↗
(Router *gin.RouterGroup)
Source
from the content-addressed store, hash-verified
173
}
174
175
func
InitRouter(Router *gin.RouterGroup) {
176
Router.GET(
"models"
, models)
177
ChatRouter := Router.Group(
"chat"
)
178
{
179
ChatRouter.POST(
"/completions"
, chat)
180
}
181
}
Callers
1
InitRouter
Function · 0.92
Calls
no outgoing calls
Tested by
no test coverage detected