§2023-06-03

In trying to compile a caddy with markdown built-in, with the help of ChatGPT, I foung that The version of quic-go you're using can't be built on Go 1.20 yet. For more details, please see https://github.com/lucas-clemente/quic-go/wiki/quic-go-and-Go-versions."

So, I decided to downgrade the vrsion.


試作機器:hc4MnBudgie .yushei .net, 192.168.48.243

$ wget https://go.dev/dl/go1.19.8.linux-arm64.tar.gz
$ sudo tar -C /usr/local -xzf go1.19.8.linux-arm64.tar.gz 
$ export PATH=$PATH:/usr/local/go/bin
$ export PATH=$PATH:/usr/local/go/bin
$ which go
/usr/local/go/bin/go
$ go version
go version go1.19.8 linux/arm64
#
# ~/.bashrc
#

# If not running interactively, don't do anything
[[ $- != *i* ]] && return

alias ls='ls --color=auto'
alias grep='grep --color=auto'
PS1='[\u@\h \W]\$ '

# fcitx5
GTK_IM_MODULE=fcitx
QT_IM_MODULE=fcitx
XMODIFIERS=@im=fcitx

# tilix VTE config
if [ $TILIX_ID ] || [ $VTE_VERSION ]; then
        source /etc/profile.d/vte.sh
fi

# for go
export PATH=$PATH:/usr/local/go/bin