init repo
This commit is contained in:
18
vendor/github.com/clbanning/mxj/v2/xmlseq2.go
generated
vendored
Normal file
18
vendor/github.com/clbanning/mxj/v2/xmlseq2.go
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
// Copyright 2012-2016, 2019 Charles Banning. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file
|
||||
|
||||
package mxj
|
||||
|
||||
// ---------------- expose Map methods to MapSeq type ---------------------------
|
||||
|
||||
// Pretty print a Map.
|
||||
func (msv MapSeq) StringIndent(offset ...int) string {
|
||||
return writeMap(map[string]interface{}(msv), true, true, offset...)
|
||||
}
|
||||
|
||||
// Pretty print a Map without the value type information - just key:value entries.
|
||||
func (msv MapSeq) StringIndentNoTypeInfo(offset ...int) string {
|
||||
return writeMap(map[string]interface{}(msv), false, true, offset...)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user