emahiro/b.log

Drastically Repeat Yourself !!!!

2018-10-20から1日間の記事一覧

Goので外部パッケージをimportする

go

以下のようなパッケージ構成のGoのプロジェクトを考えます。 $GOPATH ├── handler │ └── index.go ├── main.go └── middleware └── log.go これだと main.go で localに作成した handler や middleware を import しようとするときに、 Unresolved reference…