2014-11-02 golang でファイルを取得する golang Go memo io/ioutil を使う file, err := ioutil.ReadFile(path) こんな感じで引数は byte