Re: [Xen-devel] [PATCH v3 07/22] golang/xenlight: define Mac builtin type

2019-12-16 Thread George Dunlap
On 12/10/19 3:47 PM, Nick Rosbrook wrote: > From: Nick Rosbrook > > Define Mac as [6]byte and implement fromC, toC, and String functions. > > Signed-off-by: Nick Rosbrook > Reviewed-by: George Dunlap > --- > Changes in v2: > - Fix the format string in String function to use %02x. > - Use a val

[Xen-devel] [PATCH v3 07/22] golang/xenlight: define Mac builtin type

2019-12-10 Thread Nick Rosbrook
From: Nick Rosbrook Define Mac as [6]byte and implement fromC, toC, and String functions. Signed-off-by: Nick Rosbrook Reviewed-by: George Dunlap --- Changes in v2: - Fix the format string in String function to use %02x. - Use a value reciever for the toC function. Changes in v3: - Iterate ove