MCPcopy 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
57func newViewCtx(c Config) viewCtx {
58 return viewCtx{
59 Clock: c.getClock(),
60 Config: c,
61 }
62}
63
64func (c Config) getLayout() string {
65 if c.Layout == "" {

Callers 2

initHelpersFunction · 0.85
TestTimeAgoFunction · 0.85

Calls 1

getClockMethod · 0.80

Tested by 1

TestTimeAgoFunction · 0.68