MCPcopy Index your code
hub / github.com/dnote/dnote / NewNotes

Function NewNotes

pkg/server/controllers/notes.go:35–39  ·  view source on GitHub ↗

NewNotes creates a new Notes controller. It panics if the necessary templates are not parsed.

(app *app.App)

Source from the content-addressed store, hash-verified

33// NewNotes creates a new Notes controller.
34// It panics if the necessary templates are not parsed.
35func NewNotes(app *app.App) *Notes {
36 return &Notes{
37 app: app,
38 }
39}
40
41var notesPerPage = 30
42

Callers 1

NewFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected