Help us shape the future of Go! Take the 2026 Go Developer Survey

view

package
v1.20.0-alpha.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceProvider

type ServiceProvider struct{}

func (*ServiceProvider) Boot

func (r *ServiceProvider) Boot(app foundation.Application)

func (*ServiceProvider) Register

func (r *ServiceProvider) Register(app foundation.Application)

func (*ServiceProvider) Relationship

func (r *ServiceProvider) Relationship() contractsbinding.Relationship

type View

type View struct {
	// contains filtered or unexported fields
}

func NewView

func NewView() *View

func (*View) Exists

func (r *View) Exists(view string) bool

Exists reports whether a view file with the given name is available from any source. Only files count: directories, "" and "." (which would resolve to a source root) do not match.

func (*View) GetShared

func (r *View) GetShared() map[string]any

func (*View) LoadViewsFrom

func (r *View) LoadViewsFrom(path string)

func (*View) LoadViewsFromFS

func (r *View) LoadViewsFromFS(fsys fs.FS, root string)

func (*View) RegisteredViewFS

func (r *View) RegisteredViewFS() []fs.FS

func (*View) RegisteredViews

func (r *View) RegisteredViews() []string

func (*View) Share

func (r *View) Share(key string, value any)

func (*View) Shared

func (r *View) Shared(key string, def ...any) any

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL