Open Umang01-hash opened 4 days ago
Description:
Closes issue #1143
func HelloHandler(c *gofr.Context) (interface{}, error) { var data []byte if err := c.Bind(&data); err != nil { return nil, fmt.Errorf("failed to bind binary data: %w", err) } // Process the binary data fmt.Printf("Received binary data: %v\n", data) return string(data), nil }
Checklist:
goimport
golangci-lint
Thank you for your contribution!
Pull Request Template
Description:
Closes issue #1143
Example Usage:
Checklist:
goimport
andgolangci-lint
.Thank you for your contribution!