Documentation
¶
Index ¶
Constants ¶
View Source
const MAIN_MODULE = ""
flag: none env: XGO_MAIN_MODULE description:
auto detected by xgo in the beginning of building. can be used prior to ask runtime/debug's info: var mainModulePath = runtime/debug.ReadBuildInfo().Main.Path
View Source
const STRACE = ""
flag: --strace env: XGO_STACK_TRACE description:
persist the --strace flag when invoking xgo test, if the value is on or true, trace will be automatically collected when test starts and ends
values:
on,true => --strace, --strace=on, --strace=true off,false,empty string => --strace=off, --strace=false
View Source
const STRACE_DIR = ""
flag: --strace-dir env: XGO_STACK_TRACE_DIR values:
directory, default current dir
View Source
const STRACE_SNAPSHOT_MAIN_MODULE_DEFAULT = ""
flag: --strace-snapshot-main-module env: XGO_STRACE_SNAPSHOT_MAIN_MODULE_DEFAULT description:
collecting main module's trace in snapshot mode, while other's are non snapshot mode snapshot mode: args are serialized before executing the function, and results are serilaized after return. this is useful if an object will be modified in later process.
values: true or false
View Source
const TRAP_STDLIB = ""
flag: --trap-stdlib env: XGO_STD_LIB_TRAP_DEFAULT_ALLOW description: if true, stdlib trap is by default allowed values:
true - default with test empty string and any other value - --trap-stdlib=false
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.