mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-03-03 18:00:18 +00:00
16 lines
460 B
Bash
16 lines
460 B
Bash
#!/bin/bash
|
|
# title: Go (golang alias)
|
|
# homepage: https://webinstall.dev/golang
|
|
# tagline: Alias for https://webinstall.dev/golang
|
|
# alias: golang
|
|
# description: |
|
|
# See https://webinstall.dev/golang
|
|
|
|
function __redirect_alias_golang() {
|
|
echo "'go@${WEBI_TAG:-stable}' is an alias for 'golang@${WEBI_VERSION:-}'"
|
|
WEBI_HOST=${WEBI_HOST:-"https://webinstall.dev"}
|
|
curl -fsSL "$WEBI_HOST/golang@${WEBI_VERSION:-}" | bash
|
|
}
|
|
|
|
__redirect_alias_golang
|