Commit 0ab20f41 authored by Jeromy's avatar Jeromy

dont return interfaces

parent 7d6acaf7
...@@ -28,7 +28,7 @@ type DatastoreCloser interface { ...@@ -28,7 +28,7 @@ type DatastoreCloser interface {
// //
// If prefix is not unique, New will panic. Call Close to release the // If prefix is not unique, New will panic. Call Close to release the
// prefix. // prefix.
func New(prefix string, ds datastore.Datastore) DatastoreCloser { func New(prefix string, ds datastore.Datastore) *measure {
m := &measure{ m := &measure{
backend: ds, backend: ds,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment