This website works better with JavaScript.
Home
Explore
Help
Sign In
brettlangdon
/
forge
mirror of
https://github.com/brettlangdon/forge.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
12
Wiki
Activity
Browse Source
sort the keys before returning them
pull/16/head
v0.1.1
Brett Langdon
11 years ago
parent
f7016fb7f1
commit
aa1b876a69
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
section.go
+ 2
- 0
section.go
View File
@ -4,6 +4,7 @@ import (
"encoding/json"
"errors"
"fmt"
"sort"
"strings"
)
@ -197,6 +198,7 @@ func (section *Section) Keys() []string {
keys
=
append
(
keys
,
key
)
}
sort
.
Strings
(
keys
)
return
keys
}
Write
Preview
Loading…
Cancel
Save