nil-pointer

command
v0.0.0-...-abf4ef4 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2017 License: MIT Imports: 3 Imported by: 0

README

nil-pointer

Tool to automatically generate Unit-Tests to find nil pointer errors.

Example for nil pointer errors:

  • Provide nil pointer to func, whiche accepts pointer argument (e.g. to struct)
  • Function, which accepts variadic arguments, where one is nil

To catch the nil pointer panics, every function call has to be wraped in a special crafted function, which recovers the panics and is able to call arbitary functions (e.g with differen arguments and types)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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