MCPcopy Create free account
hub / github.com/kataras/iris / FallbackView

TypeAlias FallbackView

context/context.go:3820–3820  ·  view source on GitHub ↗

FallbackView is a helper to register a single template filename as a fallback when the provided tempate filename was not found.

Source from the content-addressed store, hash-verified

3818// FallbackView is a helper to register a single template filename as a fallback
3819// when the provided tempate filename was not found.
3820type FallbackView string
3821
3822// FallbackView completes the FallbackViewProvider interface.
3823func (f FallbackView) FallbackView(ctx *Context, err ErrViewNotExist) error {

Callers 1

context.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected