Mike Schwörer
ffffe4bf24
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 5m32s
10 lines
175 B
Go
10 lines
175 B
Go
package ginext
|
|
|
|
import "github.com/gin-gonic/gin"
|
|
|
|
var jsonFilterKey = "goext.jsonfilter"
|
|
|
|
func SetJSONFilter(g *gin.Context, filter string) {
|
|
g.Set(jsonFilterKey, filter)
|
|
}
|