// The vdl.config file for the vdl package configures idiomatic native types | |
// in each generated language. | |
config = vdltool.Config{ | |
Go: { | |
WireToNativeTypes: { | |
"*WireError": { | |
Kind: Iface, | |
Type: "error", | |
ToNative: "verror.ErrorToNative", | |
FromNative: "verror.ErrorFromNative", | |
Imports: { | |
{ Path: "v.io/v23/verror", Name: "verror" }, | |
}, | |
Zero: {Mode: Unique}, | |
}, | |
}, | |
}, | |
} |