()
| 719 | } |
| 720 | |
| 721 | func capture() { |
| 722 | trace := make([]byte, 10240000) |
| 723 | count := runtime.Stack(trace, true) |
| 724 | fmt.Printf("Stack of %d bytes: %s\n", count, trace) |
| 725 | } |
| 726 | |
| 727 | //------------------------------------------------------------- |
| 728 | // Ensure basic validation of structs is functioning |