golazy.dev
–
golazy.dev
/
lazyviews
Index
|
Files
package lazyviews
import "golazy.dev/lazyviews"
Variables
ViewsPath is the local view directory used by lazydev builds.
var ViewsPath = "app/views"
Functions
func Open
Open returns a filesystem rooted at ViewsPath, searching from the current working directory up through its parents when ViewsPath is relative.
func Open() (fs.FS, error)
func Resolve
Resolve returns the concrete local directory for a development view path.
func Resolve(viewPath string) (string, error)
Package lazyviews opens local application views for development builds.