diff --git a/extraction/processor0_0_1.go b/extraction/processor0_0_1.go index dd53c1f..178ae61 100644 --- a/extraction/processor0_0_1.go +++ b/extraction/processor0_0_1.go @@ -40,9 +40,7 @@ const ( var Processor001 Processor = &processor001{} // processor001 is responsible for handling API version 0.0.1. -type processor001 struct { - time clock -} +type processor001 struct{} // entity001 represents a the JSON structure that 0.0.1 uses. type entity001 []struct { diff --git a/model/fingerprinting.go b/model/fingerprinting.go index 182b43b..0734912 100644 --- a/model/fingerprinting.go +++ b/model/fingerprinting.go @@ -85,8 +85,8 @@ func (f *Fingerprint) Equal(o *Fingerprint) bool { const rowKeyDelimiter = "-" -// LoadFromString transforms a rowKey into a Fingerprint, resetting any -// previous attributes. +// LoadFromString transforms a string representation into a Fingerprint, +// resetting any previous attributes. func (f *Fingerprint) LoadFromString(s string) { components := strings.Split(s, rowKeyDelimiter) hash, err := strconv.ParseUint(components[0], 10, 64)