Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

golang: add test coverage, and fix handling of files with multiple build-tags #14

Merged
merged 5 commits into from
Oct 2, 2023

Commits on Aug 24, 2022

  1. golang: add tests

    Signed-off-by: Sebastiaan van Stijn <[email protected]>
    thaJeztah committed Aug 24, 2022
    Configuration menu
    Copy the full SHA
    ef10782 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2023

  1. golang: return early on generated files

    Signed-off-by: Sebastiaan van Stijn <[email protected]>
    thaJeztah committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    1dc4909 View commit details
    Browse the repository at this point in the history
  2. golang: checkSpecialConditions: return string-slice for convenience

    Signed-off-by: Sebastiaan van Stijn <[email protected]>
    thaJeztah committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    6315543 View commit details
    Browse the repository at this point in the history
  3. golang: add whitespace between build-tags and header

    This looks to be how it's used in current projects; also add a test-
    case with a single build-tag.
    
    Signed-off-by: Sebastiaan van Stijn <[email protected]>
    thaJeztah committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    1329872 View commit details
    Browse the repository at this point in the history
  4. golang: fix files with multiple build-tags

    Signed-off-by: Sebastiaan van Stijn <[email protected]>
    thaJeztah committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    9f81529 View commit details
    Browse the repository at this point in the history