-
I can't seem to find an example of how to do this. My method feels like a hack.
I've got my `login` handler, and I want to show errors if authentication fails. So I'm adding the error to session vi…
-
There is a TODO mentioned at `riotpot/pkg/api/proxy.go` in the [getProxies route function ](https://github.com/honeynet/riotpot/blob/6d13c90eba5c67f53a5fcb877edf29ddbd494a9f/pkg/api/proxy.go#L83) whic…
-
## Description
I'm trying to use GetUint64 and GetUint but it returns 0
## How to reproduce
```
package main
import (
"github.com/gin-gonic/gin"
)
func main() {
g := gin.Defaul…
-
### Issue Description
[Doc](https://echo.labstack.com/docs/testing) has a Testing section. Examples there only works with public/ unprotected routes/ handlers. In a real-world app, most of the routes…
-
### Bug Description
When using the adaptor package to adapt an existing `http.Handler` to `fiber.Handler`, the `fiber.Ctx#UserContext` is no more accessible and all values already stored within are n…
-
Thank you for creating a good package. I am using a custom http client. If I write the test code as below, it is working good.
```golang
func createHttpClient() *http.Client {
httpClient := &h…
-
例如 test_simple_upload.go
```
response, err := su.UploadData([]byte("UMUTech@qq.com"), put_policy, "UMUTech-email.txt", nil)
if nil != err {
fmt.Println("UploadData() failed:", err)
retu…
xdeng updated
2 years ago
-
Hello, I am trying to add a new subscriber using go and gin-gonic, but I keep getting an error
`"error": "POST https://connect.mailerlite.com/api/subscribers: 422 The groups field must be an array.…
-
# Decentralized Web Hosting on Nostr
By recording HTML, CSS, and JS on the Nostr relay, it becomes possible to create a decentralized web hosting solution that eliminates the need for centralized s…
-
**Describe the bug**
When using StepGroup.Status to update the color of some output, it ends up instead printing the words `ok`, or `warn`, or `error` instead of updating the requested text color…