recipes
recipes copied to clipboard
π Examples for π Fiber
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/asaskevich/govalidator](https://togithub.com/asaskevich/govalidator) | `v0.0.0-20230301143203-a9d515a09cc2` -> `v11.0.1` | [](https://docs.renovatebot.com/merge-confidence/)...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@testing-library/user-event](https://togithub.com/testing-library/user-event) | [`^12.1.10` -> `^14.0.0`](https://renovatebot.com/diffs/npm/@testing-library%2fuser-event/12.8.3/14.5.2) | [](https://docs.renovatebot.com/merge-confidence/)...
Why? geoip example ,the route in the page request does not match the route in the code What? - replaced route to handle route `/geo` instead of `/geo/:ip?` - replaced...
**Why?** Instead of returning "User not found", "Invalid password" is displayed when calling `getUserByEmail` or `getUserByUsername` and the user is not found in the database. Related issue: Fixes #2212 **What?**...
**Fiber version/commit** v2 **Issue description** In the Login flow of auth-jwt section of the gofiber/recipes we call `getUserByEmail`, currently we are not returning nil user if user is not found...
commit 9f849c07813c585c0f22f9c6371d9fe60e8fdfb5 /geo?ip= ``` $('#search').on('click', () => { ip = $('#ip').val() $('#result').val('') $.getJSON('/geo?ip=' + ip, (res) => { $('#result').val(JSON.stringify(res, null, 4)) }) }) ``` /geo/:ip? ``` // Main GEO handler...
ThΓ© SSE example is work fine How can I add an endpoint to fire an event in my case, there is a Post call from a micro service, I need...
**Question description** fiber seems not support cancelContext like net/http, for demo case, see [context](https://gobyexample.com/context) So code in the sub project "**docker-mariadb-clean-arch**" ```go customContext, cancel := context.WithCancel(context.Background()) defer cancel() ``` should...
[](https://renovatebot.com) This PR contains the following updates: | Update | Change | |---|---| | lockFileMaintenance | All locks refreshed | π§ This Pull Request updates lock files to use...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [gopkg.in/yaml.v2](https://togithub.com/go-yaml/yaml) | `v2.4.0` -> `v3.0.1` | [](https://docs.renovatebot.com/merge-confidence/)...