Merge pull request #4608 from yujuhong/fixgomt

Run gofmt for hash.go to fix formatting errors
pull/6/head
Daniel Smith 2015-02-19 10:58:05 -08:00
commit f6ab47cc2e
1 changed files with 2 additions and 2 deletions

View File

@ -26,6 +26,6 @@ import (
// which follows pointers and prints actual values of the nested objects
// ensuring the hash does not change when a pointer changes.
func DeepHashObject(hasher hash.Hash, objectToWrite interface{}) {
printer := spew.ConfigState{Indent: " ", SortKeys: true}
printer.Fprintf(hasher, "%#v", objectToWrite)
printer := spew.ConfigState{Indent: " ", SortKeys: true}
printer.Fprintf(hasher, "%#v", objectToWrite)
}