Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion hyperloglog.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func (h *HyperLogLog) GobEncode() ([]byte, error) {
return buf.Bytes(), nil
}

// Decode gob into a HyperLogLog structure
// GobDecode decodes gob into a HyperLogLog structure
func (h *HyperLogLog) GobDecode(b []byte) error {
dec := gob.NewDecoder(bytes.NewBuffer(b))
if err := dec.Decode(&h.reg); err != nil {
Expand Down
2 changes: 1 addition & 1 deletion hyperloglogplus.go
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ func (h *HyperLogLogPlus) GobEncode() ([]byte, error) {
return buf.Bytes(), nil
}

// Decode gob into a HyperLogLogPlus structure
// GobDecode decodes gob into a HyperLogLogPlus structure
func (h *HyperLogLogPlus) GobDecode(b []byte) error {
dec := gob.NewDecoder(bytes.NewBuffer(b))
if err := dec.Decode(&h.reg); err != nil {
Expand Down