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: matryer/moq
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.2.7
Choose a base ref
...
head repository: matryer/moq
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 20 commits
  • 69 files changed
  • 16 contributors

Commits on Oct 1, 2022

  1. Add goreleaser github action (#174)

    Requested in #171 (comment)
    breml authored Oct 1, 2022
    Configuration menu
    Copy the full SHA
    e85ff8e View commit details
    Browse the repository at this point in the history
  2. feat: support generic interface generation (#175)

    Allow the generation of mocks for generics as introduced in golang 1.18
    cgorenflo authored Oct 1, 2022
    Configuration menu
    Copy the full SHA
    13aa048 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2022

  1. Test on Go 1.{18, 19}

    - Only test on 1.19 for Windows and Mac.
    - Bump versions for checkout and setup-go actions. Use cache flag in
      setup-go instead of separate cache step.
    sudo-suhas committed Nov 13, 2022
    Configuration menu
    Copy the full SHA
    812da66 View commit details
    Browse the repository at this point in the history
  2. Go version independent moq output with consistent whitespace

    By tweaking whitespace in template
    sudo-suhas committed Nov 13, 2022
    Configuration menu
    Copy the full SHA
    60a16ec View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2022

  1. Recursively check unique pkg names against existing imports

    When we generate a unique name for pkg a on conflict with pkg b, the new
    name could already be in use for pkg c. So recursively check each unique
    name against existing imports before setting it.
    sudo-suhas committed Nov 20, 2022
    Configuration menu
    Copy the full SHA
    a464ccc View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2023

  1. Add flag to enable mock reset methods (#181)

    The optional with-resets flag adds methods to reset method calls. Calls
    can be reset individually or all at once with these.
    cbaker authored Mar 8, 2023
    Configuration menu
    Copy the full SHA
    d0d706b View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2023

  1. Update the readme with -rm and -version flags (#189)

    Signed-off-by: Gabriel Bussolo <[email protected]>
    Co-authored-by: Mat Ryer <[email protected]>
    gabrielbussolo and matryer authored Mar 29, 2023
    Configuration menu
    Copy the full SHA
    13fb492 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3b9c671 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    373b8f9 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2023

  1. Configuration menu
    Copy the full SHA
    3795b74 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    188eb89 View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2023

  1. Do not load unnecessary package information (#203)

    - Add benchmark test for registry.New
    samherrmann authored Aug 13, 2023
    Configuration menu
    Copy the full SHA
    c59089b View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2023

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

Commits on Feb 11, 2024

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

Commits on Aug 22, 2024

  1. Run tests on latest supported Go versions (#220)

    Co-authored-by: ccoVeille <[email protected]>
    HaraldNordgren and ccoVeille authored Aug 22, 2024
    Configuration menu
    Copy the full SHA
    fd978ff View commit details
    Browse the repository at this point in the history
  2. Fix docs typo (#219)

    katcipis authored Aug 22, 2024
    Configuration menu
    Copy the full SHA
    3dc5f3d View commit details
    Browse the repository at this point in the history
  3. Fix GitHub check annotations (#221)

    * Fix GitHub check annotations
    
    * Update types.go
    HaraldNordgren authored Aug 22, 2024
    Configuration menu
    Copy the full SHA
    8bc5adb View commit details
    Browse the repository at this point in the history
  4. Update Go lang and tools version to support new constructs (#223)

    - Bump golang ver => 1.22.5
    arkadiuszos4chain authored Aug 22, 2024
    Configuration menu
    Copy the full SHA
    efa43c6 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2024

  1. Use Go 1.23, support imported type aliases (#225)

    Go 1.23 changed how go/types handles type aliases, which breaks code
    generation if you use a package that has an alias type (example:
    https://pkg.go.dev/github.com/golang/[email protected]/ptypes/timestamp#Timestamp
    ). These were getting generated as just the unqualified name, without
    the package. If you used a previous version of Go, it meant that if that
    aliased type was in an internal package we'd try to import the internal
    package instead, resulting in a compilation error.
    
    Add a switch to handle that case, and bump the go.mod version to support
    using types.Alias.
    reillywatson authored Aug 24, 2024
    Configuration menu
    Copy the full SHA
    5dfcd56 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2024

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