Skip to content

Commit

Permalink
address go version conflict hardcoded
Browse files Browse the repository at this point in the history
  • Loading branch information
jasdel committed Nov 25, 2020
1 parent 74da54b commit 83d3be5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ protected void serializeMap(GenerationContext context, MapShape shape) {
// that impractical since you can't make a function for a map[string]any
writer.write("keys := make([]string, 0, len(v))");
writer.write("for key := range v { keys = append(keys, key) }");
writer.addUseImports(GoDependency.standardLibraryDependency("sort", "1.14"));
writer.addUseImports(GoDependency.standardLibraryDependency("sort", "1.15"));
writer.write("sort.Strings(keys)");
writer.write("");

Expand Down

0 comments on commit 83d3be5

Please sign in to comment.