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 InterfaceDir template variable #576

Merged
merged 1 commit into from
Mar 9, 2023
Merged

Add InterfaceDir template variable #576

merged 1 commit into from
Mar 9, 2023

Conversation

LandonTClipp
Copy link
Collaborator

Description

Adding a new template variable InterfaceDir. This will be used to place your mocks next to your original mocked interface.

This fixes #574

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Version of Golang used when building/testing:

  • 1.11
  • 1.12
  • 1.13
  • 1.14
  • 1.15
  • 1.16
  • 1.17
  • 1.18
  • 1.19
  • 1.20

How Has This Been Tested?

Unit tests

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

@codecov
Copy link

codecov bot commented Mar 9, 2023

Codecov Report

Patch coverage: 100.00000% and project coverage change: +0.02882 🎉

Comparison is base (e478c25) 74.40812% compared to head (61d7db1) 74.43694%.

Additional details and impacted files
@@                 Coverage Diff                 @@
##              master        #576         +/-   ##
===================================================
+ Coverage   74.40812%   74.43694%   +0.02882%     
===================================================
  Files              7           7                 
  Lines           1774        1776          +2     
===================================================
+ Hits            1320        1322          +2     
  Misses           367         367                 
  Partials          87          87                 
Impacted Files Coverage Δ
pkg/outputter.go 33.50785% <100.00000%> (+0.70362%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@LandonTClipp LandonTClipp merged commit 1234a24 into vektra:master Mar 9, 2023
@LandonTClipp LandonTClipp deleted the issue_574 branch March 9, 2023 06:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add InterfaceDir as a templated variable in packages
1 participant