Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssignUnhandledErrors ¶
AssignUnhandledErrors transforms the program by refactoring calls to functions that return errors to assignments to fresh variables that contain errors
func InsertNilChecks ¶
InsertNilChecks inserts nil checks in all functions that contains @nonnil as comment for a parameter. If any error is encountered, then the function will be left as is.
func ReturnsError ¶
ReturnsError returns a pair of a tuple of types and a boolean such that the boolean is true whenever the signature is the signature of a function returning some error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.