Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ int
Method
int
coderd/promoauth/github.go:90–101 ·
view source on GitHub ↗
(key string)
Source
from the content-addressed store, hash-verified
88
}
89
90
func
(p *headerParser) int(key string) int {
91
v := p.string(key)
92
if
v ==
""
{
93
return
-1
94
}
95
96
i, err := strconv.Atoi(v)
97
if
err != nil {
98
p.errors[key] = err
99
}
100
return
i
101
}
Callers
1
githubRateLimits
Function · 0.95
Calls
1
string
Method · 0.95
Tested by
no test coverage detected