bfd94ceda7
* unnecessary pointer type * ParseIndex() as hub method, don't collect missing items since they are never used * don't export hub.parseIndex(), hub.downloadIndex()
13 lines
390 B
Go
13 lines
390 B
Go
package cwhub
|
|
|
|
import (
|
|
"errors"
|
|
)
|
|
|
|
var (
|
|
// ErrNilRemoteHub is returned when the remote hub configuration is not provided to the NewHub constructor.
|
|
// All attempts to download index or items will return this error.
|
|
ErrNilRemoteHub = errors.New("remote hub configuration is not provided. Please report this issue to the developers")
|
|
ErrIndexNotFound = errors.New("index not found")
|
|
)
|