# Mock Client for go-auth0

**URL:** <https://community.auth0.com/t/mock-client-for-go-auth0/111474>\
**Category:** Get Help\
**Tags:** users, management-api\
**Created:** [July 18, 2023, 5:56am UTC](https://community.auth0.com/t/mock-client-for-go-auth0/111474 "2023-07-18T05:56:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![xuhui](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@xuhui](https://community.auth0.com/u/xuhui)\
**Post date:** [July 18, 2023, 5:56am UTC](https://community.auth0.com/t/mock-client-for-go-auth0/111474/1 "2023-07-18T05:56:50Z")

</div>

I am using the go-auth0 package at my application. However, when I tried to mock auth0 in my unit tests, it is really hard. Is there any official guidance for go-auth0 mock client?

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [July 26, 2023, 12:19pm UTC](https://community.auth0.com/t/mock-client-for-go-auth0/111474/2 "2023-07-26T12:19:34Z")

</div>

Hey there!

Unfortunately as of now there isn’t. Two things you can do here:

1. You can ask for additional guidance on that by raising a GitHub issue in our go-auth0 repo:

> **[GitHub - auth0/go-auth0: Go SDK for the Auth0 Management API.](https://github.com/auth0/go-auth0)**
>
> Go SDK for the Auth0 Management API. Contribute to auth0/go-auth0 development by creating an account on GitHub.

1. Advocate for such documentation to be added in the future by creating a topic in our Feedback category here:

> **[Feedback](https://community.auth0.com/c/feedback/95)**
>
> Submit and vote on product feedback and feature requests.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [August 9, 2023, 12:20pm UTC](https://community.auth0.com/t/mock-client-for-go-auth0/111474/3 "2023-08-09T12:20:04Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
