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

Add "struct_references" configuration #155

Merged
merged 4 commits into from
Nov 13, 2021

Commits on Nov 8, 2021

  1. Add "weak_references" configuration

    Adds a "use_weak_references" configuration that will:
    
      * Use a pointer type for struct fields that are a complex type
        * The behaviour can be overridden by setting "pointer: false" in the
          proceeding comment blocks
      * Sets the "omitempty: true" flag on fields matching the criteria.
        This can also be overriden by setting "omitempty: false"
    nathanstitt committed Nov 8, 2021
    Configuration menu
    Copy the full SHA
    19726c7 View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2021

  1. rename config to "StructReferences" & rework check

    The logic check was subtly flawed and would override
    any omitempty: false comments
    nathanstitt committed Nov 11, 2021
    Configuration menu
    Copy the full SHA
    77da957 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2021

  1. typo

    benjaminjkraft authored Nov 13, 2021
    Configuration menu
    Copy the full SHA
    bf8b563 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d0bb6ad View commit details
    Browse the repository at this point in the history