blob: de0c8699541ef0edf43b8cc94bf7104602b4cbcf [file] [log] [blame]
// 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},
},
},
},
}