Skip to content

Instantly share code, notes, and snippets.

View taking's full-sized avatar
🐈
Focusing

taking taking

🐈
Focusing
View GitHub Profile
#!/bin/bash
# Author by Taking
# (1) go language install + env
GO_URL="https://go.dev/dl"
GO_VERSION=$(curl -s 'https://go.dev/VERSION?m=text' | head -n1)
ARCH=$(dpkg --print-architecture)
GO_FILE="$GO_VERSION.linux-$ARCH.tar.gz"
RED='\033[0;31m'