Skip to content
This repository has been archived by the owner on Mar 18, 2022. It is now read-only.

Updated master #3

Closed
wants to merge 5 commits into from
Closed

Updated master #3

wants to merge 5 commits into from

Commits on Feb 27, 2020

  1. Configuration menu
    Copy the full SHA
    cda7ea3 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2020

  1. Add -set_exit_status flag

    Add support for the -set_exit_status flag to goconst, inspired by the
    same flag on the prealloc tool [1]. I updated the help message
    accordingly. The exit status is set to `2` to distinguish it from an
    non-recoverable error, indicated by an exit status of `1`.
    
    I implemented this by hvaing the `run` function return an additional
    value indicating if anyIssues were found. `run` gets this information
    from `printOutput` and returns it directly. This is needed because
    `printOutput` does some additional processing of the duplicates found
    (namely checking if there are enough occurances of a given constant).
    
    If there is any error in the program, this always takes precedence over
    issues found by goconst.
    
    --
    1. https://github.com/alexkohler/prealloc
    ericcornelissen authored and jgautheron committed Sep 20, 2020
    Configuration menu
    Copy the full SHA
    bdcb5eb View commit details
    Browse the repository at this point in the history
  2. Update README.md

    Update the usage message found in the README.
    ericcornelissen authored and jgautheron committed Sep 20, 2020
    Configuration menu
    Copy the full SHA
    222765b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a6a8cb5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8f5268c View commit details
    Browse the repository at this point in the history