go fmt
diff --git a/goyaml.go b/goyaml.go index 518ddeb..3de01c0 100644 --- a/goyaml.go +++ b/goyaml.go
@@ -59,7 +59,7 @@ // If an internal pointer within a struct is not initialized, goyaml // will initialize it if necessary for unmarshalling the provided data, // but the struct provided as out must not be a nil pointer. -// +// // The type of the decoded values and the type of out will be considered, // and Unmarshal() will do the best possible job to unmarshal values // appropriately. It is NOT considered an error, though, to skip values @@ -83,7 +83,7 @@ // } // var T t // goyaml.Unmarshal([]byte("a: 1\nb: 2"), &t) -// +// func Unmarshal(in []byte, out interface{}) (err error) { defer handleErr(&err) d := newDecoder()
diff --git a/resolve.go b/resolve.go index dc053a2..a31a533 100644 --- a/resolve.go +++ b/resolve.go
@@ -8,7 +8,6 @@ // TODO: merge, timestamps, base 60 floats, omap. - type resolveMapItem struct { value interface{} tag string
diff --git a/sorter.go b/sorter.go index 8a46bef..e1ee85f 100644 --- a/sorter.go +++ b/sorter.go
@@ -7,7 +7,7 @@ type keyList []reflect.Value -func (l keyList) Len() int { return len(l) } +func (l keyList) Len() int { return len(l) } func (l keyList) Swap(i, j int) { l[i], l[j] = l[j], l[i] } func (l keyList) Less(i, j int) bool { a := l[i]