# go modulesコマンドTips

# go mod init

空ディレクトリで

go mod init github.com/tubone24/hoge
1

# go get

go get github.com/stretchr/testify/require
1

# go install

go install github.com/golang/mock/mockgen
1

mockgenコマンドが使えるようになる