반응형

개발자로 살아오며 GO는 한번도 써본적이 없지만 이번에 어쩌다 보니 build dependency 가 생겨 빌드를 하던 와중 아래와 같은 Error 메시지와 조우하게 되었다.
앞으로도 당분간은 GO는 사용할 일이 없을 것 같아 Error 메시지의 의미나 발생 원인에 대해서는 딱히 확인하지 않고 단순 빌드가 성공되도록 처리만 하였다.
방법은 아래의 Solutions 에 설명한 것과 같이  golang-go 를 설치하는 것이다.

Error

hash/maphash: malformed module path "hash/maphash": missing dot in first path element


Solutions

sudo add-apt-repository ppa:longsleep/golang-backports
sudo apt update
sudo apt install golang-go
반응형

+ Recent posts