golang.org/x/exp@v0.0.0-20240506185415-9bf2ced13842/apidiff/testdata/README.md (about)

     1  The .go files in this directory are split into two packages, old and new.
     2  They are syntactically valid Go so that gofmt can process them.
     3  
     4  ```
     5  If a comment begins with:  Then:
     6  old                        write subsequent lines to the "old" package
     7  new                        write subsequent lines to the "new" package
     8  both                       write subsequent lines to both packages
     9  c                          expect a compatible error with the following text
    10  i                          expect an incompatible error with the following text
    11  
    12  ```