Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AlistGo/auth
/ main
Function
main
main.go:9–16 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
7
)
8
9
func
main() {
10
r := gin.Default()
11
r.GET(
"/"
,
func
(c *gin.Context) {
12
c.JSON(200, gin.H{
"message"
:
"Hello, World!"
})
13
})
14
app.Setup(r.Group(
"/api"
))
15
r.Run(
":8080"
)
16
}
Callers
nothing calls this directly
Calls
1
Setup
Function · 0.92
Tested by
no test coverage detected