Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
text/template: map key sorting should know about the sort interface #5020
Now that reflect.SliceOf exists, it's conceivable that key sorting for maps in text.Template could be craftier: if the a slice of key types is sortable, it could promote to a sortable slice and sort them. The user can do this by hand already, of course, but it might be nice to be automatic about it. Low priority.