FAQ
Why can't you just use unsafe.Alignof in an init func and panic if a value is different than expected?

https://golang.org/pkg/unsafe/#Alignof

--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 4 | next ›
Discussion Overview
groupgolang-nuts @
categoriesgo
postedApr 8, '16 at 10:40p
activeApr 10, '16 at 11:29p
posts4
users2
websitegolang.org

People

Translate

site design / logo © 2022 Grokbase