15 lines
409 B
Go
15 lines
409 B
Go
package internal
|
|
|
|
import "errors"
|
|
|
|
const GO_DL_SERVER = "https://go.dev/dl"
|
|
const LTS = "lts"
|
|
|
|
var (
|
|
ErrReleaseNotFound = errors.New("release not found")
|
|
ErrBadResponse = errors.New("github API responde with a non success code")
|
|
ErrEmptyTags = errors.New("no tags found")
|
|
ErrHashNotFound = errors.New("release hash not found")
|
|
ErrHashInvalid = errors.New("release hash doesn't match")
|
|
)
|