func NewHashID(salt string, minlen int) *HashID {
	return &HashID{salt, minlen}
}
NewHashID creates a new HashID with given salt and minimum hash length.
package hide
import (
	"errors"
	"github.com/speps/go-hashids"
)
type HashID struct {
	Salt      string
	MinLength int
}