7 lines
162 B
Go
7 lines
162 B
Go
package core
|
|
|
|
// Defer executes the callback at the end of function compilation.
|
|
func (f *Function) Defer(call func()) {
|
|
f.deferred = append(f.deferred, call)
|
|
}
|