T116error

Go compilation error

The Go compiler rejected code generated from a component, and the error is mapped back to the .pk file.

Piko compiles each component's script block together with code generated from its template. Errors are reported at the matching place in the .pk source where possible.

Fix the Go code at the reported position, as you would for go build.

$ piko explain T116

Build output ends each diagnostic with a link to this page, and editors using the Piko language server link the code under the squiggle. Look for CodeGoCompilationError in Piko's source to see where it is reported.