Documentation ¶
Index ¶
- Variables
- func Detail(something interface{}) string
- func ListOfStringContain(haystack []string, needle string) bool
- func Md5sum(file string) (string, error)
- func NewProgressWriter(w io.Writer) *progressWriter
- func Print(v ...interface{})
- func Print2(v ...interface{})
- func Print3(v ...interface{})
- func Print4(v ...interface{})
- func Printf(format string, v ...interface{})
- func Println(v ...interface{})
- func StackTrace(skip int, depth int) string
- func StripQuotedString(source string) string
- func TraceDetail(o interface{})
- func TracePrint(skip int, cnt int, v ...interface{})
- type CallerInfo
- type ProgressReader
Constants ¶
This section is empty.
Variables ¶
View Source
var LocalLocation *time.Location
View Source
var QuotedStringPattern = regexp.MustCompile(`^"(.*)"`)
Functions ¶
func ListOfStringContain ¶
func NewProgressWriter ¶
func StackTrace ¶
func StripQuotedString ¶
func TraceDetail ¶
func TraceDetail(o interface{})
func TracePrint ¶
Types ¶
type CallerInfo ¶
type CallerInfo struct {
// contains filtered or unexported fields
}
func GetCallerInfo ¶
func GetCallerInfo(skip int) *CallerInfo
func (*CallerInfo) FileName ¶
func (caller *CallerInfo) FileName() string
func (*CallerInfo) FuncName ¶
func (caller *CallerInfo) FuncName() string
func (*CallerInfo) LineNumber ¶
func (caller *CallerInfo) LineNumber() int
type ProgressReader ¶
func NewProgressReader ¶
func NewProgressReader(r io.Reader) ProgressReader
Source Files ¶
Click to show internal directories.
Click to hide internal directories.