func (s Stack) State() string {
	return s.state
}
State returns the Goroutine's state.
package stack
import (
	"bufio"
	"bytes"
	"fmt"
	"io"
	"runtime"
	"strconv"
	"strings"
)
const _defaultBufferSize = 64 * 1024  
type Stack struct {
	id            int
	state         string
	firstFunction string
	fullStack     *bytes.Buffer
}
func (s Stack) ID() int {
	return s.id
}