On Sun, Oct 15, 2017 at 8:50 PM, sheepbao <listome...@gmail.com> wrote: > > is golang has any like this represents a bit in struct in c language :
Not directly, no. You can of course do it using a uint8 and the operators | & &^. Ian -- 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. For more options, visit https://groups.google.com/d/optout.