Skip to content
This repository has been archived by the owner on Sep 8, 2023. It is now read-only.

Commit

Permalink
Implemented Shawties.Close for MemSh to pass tests
Browse files Browse the repository at this point in the history
  • Loading branch information
snluu committed Mar 7, 2013
1 parent e84db21 commit 30933ec
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion data/memsh.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func NewMemSh(r utils.Rand) *MemSh {
}
}

// MemSh implements the Shawties interface and stores all the
// MemSh implements the Shawties interface and stores all the
// Shawty instances in memory. Do not use this in production or your data will be lost.
type MemSh struct {
nextID uint64
Expand Down Expand Up @@ -88,3 +88,7 @@ func (ms *MemSh) NumLinks(creatorIP string, t time.Time) (uint32, error) {
}
return n, nil
}

func (this *MemSh) Close() error {
return nil
}

0 comments on commit 30933ec

Please sign in to comment.