https://play.golang.org/p/swRxxCbb65
Surely s1 uses more than 8 bytes. On Thursday, April 13, 2017 at 11:28:39 AM UTC-5, Jan Mercl wrote: > > On Thu, Apr 13, 2017 at 6:24 PM AWildTyphlosion < > sdi...@watchtower-security.com <javascript:>> wrote: > > > I'm trying to figure out how much memory a value. Anyone have a clue how > to? > > unsafe.Sizeof/reflect.Type.Size > > -- > > -j > -- 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.