Download msys2
Install gtk3 in msys2
pacman -S mingw-w64-x86_64-gtk3 git vim pkg-config mingw-w64-x86_64-gcc
Install Go inside msys2 directory, like C:\msys2\opt\go
Add those lines in file C:\msys2\etc\profile
export GOROOT=/opt/go
export GOPATH=/home/asd/go
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/mingw64/lib/pkgconfig
Open file C:\msys2\mingw64\lib\pkgconfig\gdk-3.0.pc
, remove -Wl,-luuid
,and add a line below:
Ldflags:-Wl,-luuid
Install Faithtop
go get -tags gtk_3_18 github.com/gofaith/faithtop
brew install gtk+3
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/Cellar/libffi/3.2.1/lib/pkgconfig
go get -v -tags gtk_3_18 github.com/gofaith/faithtop