Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: daixiang0/gci
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.3.1
Choose a base ref
...
head repository: daixiang0/gci
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.3.2
Choose a head ref
  • 1 commit
  • 24 files changed
  • 1 contributor

Commits on Mar 3, 2022

  1. Fix issue parsing block comments, and always retain prefix comments f…

    …or cgo imports. (#49)
    
    * Fix "Error: an error occured while trying to parse imports: path is missing starting quotes" when parsing a file with block comments.
    
    Fixes #48.
    
    Note that this only handles simple cases for block comments, and does
    not cover more complex cases (see FIXME in parse.go).
    
    Signed-off-by: Charles Korn <[email protected]>
    
    * Make block comment parsing more robust to different formatting.
    
    Signed-off-by: Charles Korn <[email protected]>
    
    * Add test case for multiple comments before a "C" import.
    
    Signed-off-by: Charles Korn <[email protected]>
    charleskorn authored Mar 3, 2022
    Configuration menu
    Copy the full SHA
    ec40303 View commit details
    Browse the repository at this point in the history
Loading