featurebase/db/db.go
Ben Johnson b06ecf3320 Update import path
This commit updates the import path from:

```
pilosa/*
```

to:

```
github.com/umbel/pilosa/*
```

This follows standard Go convention and makes the project "go gettable".

The README was also updated to reflect the changes.
2015-08-05 22:50:38 -06:00

25 lines
305 B
Go

package db
import (
"encoding/gob"
. "github.com/umbel/pilosa/util"
)
type Message struct {
Data interface{} `json:data`
}
type Envelope struct {
Message *Message
Host *GUID
}
type HoldResult interface {
ResultId() *GUID
ResultData() interface{}
}
func init() {
gob.Register(Message{})
}