Skip to content

E0214: Bad @export ​

@export("Name") adds a wrapper named Name for Go code to call (an overload or a function with Vuka-only types). It goes on functions and methods, and names an identifier other than the function's own.

Wrong ​

vuka
@export("area")
func area(r float64) float64 { … }
vuka
@export("CircleArea")
func area(r float64) float64 { … }

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.