atexit

package
v0.0.0-...-37536b8 Latest Latest
Warning

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

Go to latest
Published: May 5, 2018 License: BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package atexit add the missing atexit functionality in the testing package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Do

func Do(f func())

Do starts another process of the same program with the same argument and calls f to do clean up job after the process is terminated. Do should be called within an init function, and can be called only once in a program. A second call to Do will be ignored.

Types

This section is empty.

Jump to

Keyboard shortcuts

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