You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- replace single char names with more descriptive ones
- remove predefined mod functions
- deduplicate ParseOriginRequestHeaders and test it
- deduplicate ParseGeofencing and test it
- add test FlagTo* funcs
funcparseGeofencing(p*print.Printer, geofencingInput []string) *map[string][]string { //nolint:gocritic // ptrToRefParam is nice here because of awkward SDK API
269
-
geofencing:=make(map[string][]string)
270
-
for_, in:=rangegeofencingInput {
271
-
firstSpace:=strings.IndexRune(in, ' ')
272
-
iffirstSpace==-1 {
273
-
p.Debug(print.ErrorLevel, "invalid geofencing entry (no space found): %q", in)
funcparseOriginRequestHeaders(p*print.Printer, originRequestHeadersInput []string) *map[string]string { //nolint:gocritic // ptrToRefParam is nice here because of awkward SDK API
0 commit comments