Skip to content

E0126: Bad vuka.File ​

A vuka.File set to a string literal names a file vuka embeds: it must exist, be a file (not a directory), and be in the package's directory or below it, named relative to it.

Wrong ​

vuka
@Template("/etc/passwd")
func page() {}
vuka
@Template("templates/page.html")
func page() {}

Released under the MIT License. Vuka builds on Go and its tools, which are made by the Go Authors. Vuka is not affiliated with Google or the Go project. Go is a trademark of Google LLC.