[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 14/24] golang/xenlight: generate structs from the IDL
> BTW I was discussing with Ian Jackson, and I think at some point it > would be worth considering adding in an annotation or something to the > IDL such that the generator can use time.Duration for these things. > That opens up another can of works, like the fact that Duration is > int64 rather than uint64. > > But at any rate, that's something to look into *after* this series is > checked in. Add it to the list! :) > This doesn't seem like great software engineering. :-) Would it be > terribly difficult to refactor things to avoid this? Perhaps by > returning tuples that are merged together or something? No, I don't think this would be difficult to re-factor. I think either just returning a list of strings, or some n-tuple as you suggest would be fine. -NR _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |