Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/go-openapi/spec
/ Get
Method
Get
cache.go:13–13 ·
view source on GitHub ↗
(uri string)
Source
from the content-addressed store, hash-verified
11
// ResolutionCache a cache for resolving urls.
12
type
ResolutionCache
interface
{
13
Get(uri string) (any, bool)
14
Set(uri string, data any)
15
}
16
Callers
8
baseForRoot
Function · 0.65
transitiveResolver
Method · 0.65
resolveRef
Method · 0.65
load
Method · 0.65
TestExpand_Issue145
Function · 0.65
ResolveRef
Function · 0.65
IsValidURI
Method · 0.65
TestDefaultResolutionCache
Function · 0.65
Implementers
1
simpleCache
cache.go
Calls
no outgoing calls
Tested by
2
TestExpand_Issue145
Function · 0.52
TestDefaultResolutionCache
Function · 0.52