I have questions about pointer arithmetic illustrated by this Play 
example:  https://play.golang.org/p/-cZteTY_M2

Questions:
1) Is this the best way to do pointer arithmetic in Go to process a C array 
and convert it to a Go slice?
2) Go vet gives an error on line 18 but doesn't give much information on 
how to fix the usage of unsafe.Pointer.  Any recommendations?


-- 
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.

Reply via email to