Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/gogs/gogs
/ GetAuthenticatedUser
Function
GetAuthenticatedUser
internal/route/api/v1/user/user.go:60–62 ·
view source on GitHub ↗
(c *context.APIContext)
Source
from the content-addressed store, hash-verified
58
}
59
60
func
GetAuthenticatedUser(c *context.APIContext) {
61
c.JSONSuccess(c.User.APIFormat())
62
}
Callers
nothing calls this directly
Calls
2
JSONSuccess
Method · 0.80
APIFormat
Method · 0.45
Tested by
no test coverage detected