Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Unified Diff: third_party/golang/README

Issue 1415513008: Local modifications of golang source: Sort the keys of a map when printing them. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/golang/src/fmt/print.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/golang/README
diff --git a/third_party/golang/README b/third_party/golang/README
index 35b894a84f7996efc8caaef20603e4813e7cfdfc..3d97e3928d242f699b9156b931d40128abc9e92a 100644
--- a/third_party/golang/README
+++ b/third_party/golang/README
@@ -11,6 +11,9 @@ described below.
Local Changes:
- The fmt package has been modified with regards to how it uses reflection
-to deep print Go structures. Firstly instead of only following pointers
-for one level we now follow pointers for 50 levels. Secondly instead of
-printing the address of a string pointer we print the string.
+to deep print Go structures:
+ * Instead of only following pointers for one level we now follow pointers for
+ 50 levels.
+ * Instead of printing the address of a string pointer we print the string.
+ * Instead of printing maps in an unspecified order we sort the keys of
+ the map if they are of numeric or string type.
« no previous file with comments | « no previous file | third_party/golang/src/fmt/print.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698