//
pkg.gl
Category
github.com/shogo82148/std
internal
runtime
exithook
package
1.23.0
Repository:
https://github.com/shogo82148/std.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
0
Dependents
0
Files
13 SLOC
#
Functions
Add
Add adds a new exit hook.
Run
Run runs the exit hooks.
#
Variables
Goid
No description provided by the author
Gosched
runtime sets these for us.
Throw
No description provided by the author
#
Structs
Hook
A Hook is a function to be run at program termination (when someone invokes os.Exit, or when main.main returns).