Or even just declare the var without any value assignation because it's 
zero value is an array of zero byte value, which is 0.

var array [48]byte


On Thursday, 6 June 2019 17:38:14 UTC+2, Michel Levieux wrote:
>
> Hi,
>
> It is not quite clear what you are trying to do, but if I understand it 
> well:
>
> var array = [48]byte{}
>
> should initialize your array with zero values.
>
> Le jeu. 6 juin 2019 à 15:48, sasikala tholisam <gr.sas...@gmail.com 
> <javascript:>> a écrit :
>
>> test [48]byte make to empty..
>> How to do it?
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "golang-nuts" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to golan...@googlegroups.com <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/golang-nuts/f5a26feb-8946-415c-9eb3-f80e8da73d3c%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/golang-nuts/f5a26feb-8946-415c-9eb3-f80e8da73d3c%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/946cca47-a106-473d-bc63-03e7b7abfbba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to