・root ディレクトリ直下に go.mod ファイルが必要。root 直下以外に go.mod ファイルがある場合は、フラグでそのパスを指定
動作確認用
go run main.go g sampleapp