Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Process ¶
Process automatically adds (or updates) the blocks for checking the pre and postconditions. If remove is set, the code to check the conditions is removed, but the conditions are left untouched in the comment.
func ProcessFile ¶ added in v1.1.0
ProcessFile loads the Go file and processes it. If remove is set, the code to check the conditions is removed, but the conditions are left untouched in the comment.
func ProcessInPlace ¶ added in v1.1.0
ProcessInPlace loads the Go file in memory, proesses it and writes atomically back to the file. If remove is set, the code to check the conditions is removed, but the conditions are left untouched in the comment.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.