log/log.go
func Stack(err interface{}) {
	stack := make([]byte, 64<<10)
	stack = stack[:runtime.Stack(stack, false)]

	log.Printf("%v\n%s", err, stack)
}
func Stack(err interface{}) {
	stack := make([]byte, 64<<10)
	stack = stack[:runtime.Stack(stack, false)]

	log.Printf("%v\n%s", err, stack)
}
// Stack logs the error err with the stack trace.