package collector type Collector interface { } type collector struct { } func New() (Collector, error) { c := &collector{} return c, nil } func (c *collector) Start() error { return nil } func (c *collector) Stop() error { return nil } func (c *collector) Add() error { return nil } func (c *collector) Remove() error { return nil } func (c *collector) Update() error { return nil }