l

package module
v1.0.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 27, 2020 License: LGPL-3.0 Imports: 7 Imported by: 5

README

A simple go debug library

This library provides a few simple functions for debugging go programs.

Author

Dale Farnsworth

dale@farnsworth.org

IRC: freenode channel: #md380, user: dfarnsworth

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PreviousPanicFilename = filepath.Join(os.TempDir(), "editcp_crash.txt")
View Source
var StderrFilename = filepath.Join(os.TempDir(), "editcp_stderr.txt")

Functions

func DisplayLog

func DisplayLog()

func Fatal

func Fatal(v ...interface{})

func Fatalf

func Fatalf(s string, v ...interface{})

func Match

func Match(re string, s string) bool

func P

func P(v ...interface{})

func PreviousPanicString added in v1.0.19

func PreviousPanicString() string

func Print

func Print(v ...interface{})

func PrintStack

func PrintStack()

func Printf

func Printf(s string, v ...interface{})

func Println

func Println(v ...interface{})

func RemovePreviousPanicFile added in v1.0.19

func RemovePreviousPanicFile()

func Warning

func Warning(v ...interface{})

func Warningf

func Warningf(s string, v ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL