Skip to content

Instantly share code, notes, and snippets.

View jimyag's full-sized avatar
👋

jimyag jimyag

👋
  • Shanghai
  • 07:23 (UTC +08:00)
View GitHub Profile
@jimyag
jimyag / install-go.sh
Last active April 27, 2024 03:36
install go from source code
#!/usr/bin/env bash
set -e
cleanup() {
echo "cleanup"
rm -rf $HOME/.go
}
handle_exit() {
if [ $? -ne 0 ]; then