comparison go.mod @ 5298:4bc14bea3fc9

Fixed check for bottleneck existence in fa import. The contains() function for bottleneck lists (slice) is build upon sort.SearchStrings() which in turn requires the slice to be sorted. Until now the bottleneck list was sorted by ordering in the database request, which depends on LC_COLLATE and might not meet the sort packages expectations. Therefor we now use sort.Strings() to sort it based on the same semantics as expected by SearchStrings().
author wilde@azure1.rgb.intevation.de
date Wed, 11 Nov 2020 10:57:22 +0100
parents cda87159b431
children 866eae1bd888
comparison
equal deleted inserted replaced
5295:3872f3bd1a08 5298:4bc14bea3fc9