🐛 Fix json encode and decode issue
All checks were successful
release-nightly / build-docker (push) Successful in 1m14s
All checks were successful
release-nightly / build-docker (push) Successful in 1m14s
This commit is contained in:
parent
0ffd582d80
commit
90ac125886
@ -1,12 +1,14 @@
|
||||
package transformers
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"github.com/gofiber/fiber/v2"
|
||||
jsoniter "github.com/json-iterator/go"
|
||||
)
|
||||
|
||||
// Definitions
|
||||
|
||||
var json = jsoniter.ConfigCompatibleWithStandardLibrary
|
||||
|
||||
type RequestTransformer struct {
|
||||
ModifyRequest func(options any, ctx *fiber.Ctx) error
|
||||
ModifyResponse func(options any, ctx *fiber.Ctx) error
|
||||
|
Loading…
Reference in New Issue
Block a user