PHONG B NGUYEN

66%
Flag icon
We must modify the test to restore the previous value so that subsequent tests observe no effect, and we must do this on all execution paths, including test failures and panics. This naturally suggests defer.
The Go Programming Language
Rate this book
Clear rating
Open Preview