cli: diff
sections don't maintain the order given by the server
#86
Labels
diff
sections don't maintain the order given by the server
#86
This happens because, in contrary to Python's dictionaries, GO's maps are not ordered.
Here's an example:
This problem was discussed in this comment: #82 (comment)
Some possible solutions include using
json.Decoder
to decode the JSON object manually, or use a library like orderedmap to ensure the order is maintained.The text was updated successfully, but these errors were encountered: