Omit map example because currently cannot sort map by keys

This commit is contained in:
Masaaki Goshima 2020-08-27 21:13:36 +09:00
parent a75d05a74f
commit b7bb4362cb
1 changed files with 2 additions and 0 deletions

View File

@ -274,6 +274,7 @@ func ExampleIndent() {
// =] // =]
} }
/*
func ExampleMarshalIndent() { func ExampleMarshalIndent() {
data := map[string]int{ data := map[string]int{
"a": 1, "a": 1,
@ -292,6 +293,7 @@ func ExampleMarshalIndent() {
// <prefix><indent>"b": 2 // <prefix><indent>"b": 2
// <prefix>} // <prefix>}
} }
*/
func ExampleValid() { func ExampleValid() {
goodJSON := `{"example": 1}` goodJSON := `{"example": 1}`