1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2025-10-30 23:08:02 +02:00

format_quality processing option

This commit is contained in:
DarthSim
2021-09-29 19:49:18 +06:00
parent 802fa43015
commit 70840467d0
4 changed files with 52 additions and 3 deletions

View File

@@ -94,6 +94,10 @@ func Diff(a, b interface{}) Entries {
fieldA := valA.Field(i)
fieldB := valB.Field(i)
if !fieldA.CanInterface() || !fieldB.CanInterface() {
continue
}
intA := fieldA.Interface()
intB := fieldB.Interface()