Documentation
¶
Index ¶
Constants ¶
View Source
const DEBUG = false
View Source
const IS_DEV = false
View Source
const MAX_EXTRA_FUNCS_PER_FILE = 16
View Source
const MAX_EXTRA_FUNCS_PER_PKG = 6 * MAX_EXTRA_FUNCS_PER_FILE
Variables ¶
View Source
var PREDEFINED_STD_PKGS = []string{
"time",
"os",
"os/exec",
"net",
"net/http",
"io",
"io/ioutil",
}
Functions ¶
func CheckInstrument ¶
func EnabledLogDebug ¶
func EnabledLogDebug() bool
func SetupDebugLog ¶
Types ¶
type InstrumentMode ¶ added in v1.1.4
type InstrumentMode int
const ( InstrumentMode_Exported InstrumentMode = iota InstrumentMode_All InstrumentMode_None )
func CheckInstrumentMode ¶ added in v1.1.4
func CheckInstrumentMode(stdlib bool, main bool, initial bool, trapAll bool) InstrumentMode
Click to show internal directories.
Click to hide internal directories.