How to delete all zero values or unassigned values?
Here a stack trace is put into a slice.. How can all the unassigned (zero values) be deleted?
Is there some fancy function to slice a slice.. Something like substring of a string
trace := make([]byte, 1024)
runtime.Stack(trace, true)