update implementation for 2020 spec changes

Opendmitshur opened this issue 1 month ago
dmitshur commented 1 month ago ยท edited

The rule for allowed placement of the generated DO NOT EDIT comment changed in Go proposal 41196. Previously, the comment could be anywhere in the file, but now it is required to be at the top.

The implementation and test cases need to be updated for the new behavior.

Write Preview Markdown