Skip to content

Commit

Permalink
Deployed b9df18e to v2.39 with MkDocs 1.5.3 and mike 2.1.0.dev0
Browse files Browse the repository at this point in the history
  • Loading branch information
vektra-bot committed Dec 20, 2023
1 parent e115080 commit f6b4626
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 12 deletions.
11 changes: 11 additions & 0 deletions v2.39/assets/images/logos/mongodb.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions v2.39/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -936,6 +936,9 @@ <h2 id="who-uses-mockery">Who uses mockery?<a class="headerlink" href="#who-uses
<a href="https://github.com/eksctl-io/eksctl"><img alt="Amazon logo" class="center" src="assets/images/logos/amazon.svg" width="300" /></a>
<figcaption><a href="https://github.com/eksctl-io/eksctl">eksctl</a></figcaption>
</figure></li>
<li><figure markdown>
<a href="https://github.com/search?q=org%3Amongodb%20mockery&amp;type=code"><img alt="MongoDB Logo" class="center" src="assets/images/logos/mongodb.svg" width="300" /></a>
</figure></li>
</ul>
</div>
<p><a class="md-button md-button--primary md-button--stretch" href="installation/">Get Started</a></p>
Expand Down
9 changes: 7 additions & 2 deletions v2.39/notes/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -932,8 +932,13 @@ <h2 id="error-no-go-files-found-in-root-search-path">error: <code>no go files fo
<p><a href="https://github.com/vektra/mockery/discussions/636">Discussion</a></p>
<h2 id="internal-error-package-without-types-was-imported">internal error: package without types was imported<a class="headerlink" href="#internal-error-package-without-types-was-imported" title="Permanent link">&para;</a></h2>
<p><a href="https://github.com/vektra/mockery/issues/475">https://github.com/vektra/mockery/issues/475</a></p>
<p>This issue indicates an incompatibility that exists with one of your cached Golang packages. The solution is to run <code>go clean -modcache</code>.</p>
<p>This issue also happens when compiling from source, such as with <code>go install</code>. You would not encounter this issue if using one of the installation methods that install pre-built binaries, like downloading the <code>.tar.gz</code> binaries, or through <code>brew install</code>.</p>
<p>This issue indicates that you have attempted to use package in your dependency tree (whether direct or indirect) that uses Go language semantics that your currently-running Go version does not support. The solution:</p>
<ol>
<li>Update to the latest go version</li>
<li>Delete all cached packages with <code>go clean -modcache</code></li>
<li>Reinstall mockery</li>
</ol>
<p>Additionally, this issue only happens when compiling mockery from source, such as with <code>go install</code>. Our docs <a href="installation/#go-install">recommend not to use <code>go install</code></a> as the success of your build depends on the compatibility of your Go version with the semantics in use. You would not encounter this issue if using one of the installation methods that install pre-built binaries, like downloading the <code>.tar.gz</code> binaries, or through <code>brew install</code>.</p>
<h2 id="multiple-expectations-with-identical-arguments">Multiple Expectations With Identical Arguments<a class="headerlink" href="#multiple-expectations-with-identical-arguments" title="Permanent link">&para;</a></h2>
<p>There might be instances where you want a mock to return different values on successive calls that provide the same arguments. For example we might want to test this behavior:</p>
<div class="highlight"><span class="filename">Go</span><pre><span></span><code><a id="__codelineno-0-1" name="__codelineno-0-1" href="#__codelineno-0-1"></a><span class="c1">// Return &quot;foo&quot; on the first call</span>
Expand Down
2 changes: 1 addition & 1 deletion v2.39/search/search_index.json

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions v2.39/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,47 +2,47 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://vektra.github.io/mockery/latest/</loc>
<lastmod>2023-12-19</lastmod>
<lastmod>2023-12-20</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://vektra.github.io/mockery/latest/changelog/</loc>
<lastmod>2023-12-19</lastmod>
<lastmod>2023-12-20</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://vektra.github.io/mockery/latest/configuration/</loc>
<lastmod>2023-12-19</lastmod>
<lastmod>2023-12-20</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://vektra.github.io/mockery/latest/examples/</loc>
<lastmod>2023-12-19</lastmod>
<lastmod>2023-12-20</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://vektra.github.io/mockery/latest/features/</loc>
<lastmod>2023-12-19</lastmod>
<lastmod>2023-12-20</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://vektra.github.io/mockery/latest/installation/</loc>
<lastmod>2023-12-19</lastmod>
<lastmod>2023-12-20</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://vektra.github.io/mockery/latest/migrating_to_packages/</loc>
<lastmod>2023-12-19</lastmod>
<lastmod>2023-12-20</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://vektra.github.io/mockery/latest/notes/</loc>
<lastmod>2023-12-19</lastmod>
<lastmod>2023-12-20</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://vektra.github.io/mockery/latest/running/</loc>
<lastmod>2023-12-19</lastmod>
<lastmod>2023-12-20</lastmod>
<changefreq>daily</changefreq>
</url>
</urlset>
Binary file modified v2.39/sitemap.xml.gz
Binary file not shown.

0 comments on commit f6b4626

Please sign in to comment.