Code Review: Useless time and comment.

This commit is contained in:
Matt T. Proud 2013-06-11 12:42:31 +02:00
parent 10dae5d108
commit f761854eff
2 changed files with 3 additions and 5 deletions

View File

@ -40,9 +40,7 @@ const (
var Processor001 Processor = &processor001{} var Processor001 Processor = &processor001{}
// processor001 is responsible for handling API version 0.0.1. // processor001 is responsible for handling API version 0.0.1.
type processor001 struct { type processor001 struct{}
time clock
}
// entity001 represents a the JSON structure that 0.0.1 uses. // entity001 represents a the JSON structure that 0.0.1 uses.
type entity001 []struct { type entity001 []struct {

View File

@ -85,8 +85,8 @@ func (f *Fingerprint) Equal(o *Fingerprint) bool {
const rowKeyDelimiter = "-" const rowKeyDelimiter = "-"
// LoadFromString transforms a rowKey into a Fingerprint, resetting any // LoadFromString transforms a string representation into a Fingerprint,
// previous attributes. // resetting any previous attributes.
func (f *Fingerprint) LoadFromString(s string) { func (f *Fingerprint) LoadFromString(s string) {
components := strings.Split(s, rowKeyDelimiter) components := strings.Split(s, rowKeyDelimiter)
hash, err := strconv.ParseUint(components[0], 10, 64) hash, err := strconv.ParseUint(components[0], 10, 64)