T116error
Go compilation error
The Go compiler rejected code generated from a component, and the error is mapped back to the .pk file.
When it is reported
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.
How to fix it
Fix the Go code at the reported position, as you would for go build.
In your terminal and editor
$ piko explain T116Build 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.