Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dnote/dnote
/ newViewCtx
Function
newViewCtx
pkg/server/views/view.go:57–62 ·
view source on GitHub ↗
(c Config)
Source
from the content-addressed store, hash-verified
55
}
56
57
func
newViewCtx(c Config) viewCtx {
58
return
viewCtx{
59
Clock: c.getClock(),
60
Config: c,
61
}
62
}
63
64
func
(c Config) getLayout() string {
65
if
c.Layout ==
""
{
Callers
2
initHelpers
Function · 0.85
TestTimeAgo
Function · 0.85
Calls
1
getClock
Method · 0.80
Tested by
1
TestTimeAgo
Function · 0.68