Clearer field names for the Tracker struct

This commit is contained in:
Justin Li
2014-07-16 11:29:40 -04:00
parent 2972aae231
commit d39a40c4fe
5 changed files with 18 additions and 18 deletions

View File

@@ -20,9 +20,9 @@ import (
)
type Tracker struct {
cfg *config.Config
tp tracker.Pool
bc backend.Conn
cfg *config.Config
pool tracker.Pool
backend backend.Conn
}
func NewTracker(cfg *config.Config) (*Tracker, error) {
@@ -37,9 +37,9 @@ func NewTracker(cfg *config.Config) (*Tracker, error) {
}
return &Tracker{
cfg: cfg,
tp: tp,
bc: bc,
cfg: cfg,
pool: tp,
backend: bc,
}, nil
}