Files
codeql/go/ql/test/experimental/frameworks/Fiber/HeaderWrite.go
2022-05-20 10:07:19 -07:00

30 lines
852 B
Go

// Code generated by https://github.com/gagliardetto. DO NOT EDIT.
package main
import "github.com/gofiber/fiber"
// Package github.com/gofiber/fiber@v1.14.6
func HeaderWrite_GithubComGofiberFiberV1146() {
// Header write via method calls.
{
// Header write via method calls on github.com/gofiber/fiber.Ctx.
{
// func (*Ctx).Append(field string, values ...string)
{
keyString378 := source().(string)
valString541 := source().(string)
var rece fiber.Ctx
rece.Append(keyString378, valString541) // $ headerKeyNode=keyString378 headerValNode=valString541
}
// func (*Ctx).Set(key string, val string)
{
keyString139 := source().(string)
valString814 := source().(string)
var rece fiber.Ctx
rece.Set(keyString139, valString814) // $ headerKeyNode=keyString139 headerValNode=valString814
}
}
}
}