Skip to content
This repository has been archived by the owner on Sep 19, 2022. It is now read-only.

@tomoyat1 がコードを見ていて気になった点一覧 #4

Open
tomoyat1 opened this issue Oct 25, 2019 · 3 comments
Open

@tomoyat1 がコードを見ていて気になった点一覧 #4

tomoyat1 opened this issue Oct 25, 2019 · 3 comments
Assignees

Comments

@tomoyat1
Copy link

この issue にコードを眺めていて気になった点を少しずつまとめていきます.

@tomoyat1 tomoyat1 self-assigned this Oct 25, 2019
@tomoyat1
Copy link
Author

tomoyat1 commented Oct 29, 2019

Go modules を使ったほうがいいです.
プロジェクトのルートで go mod init github.com/aratasato/geing-server すると初期化されます.

合わせて,相対 import しているところはすべて直すべきです

例:
https://github.com/aratasato/geing-server/blob/ea11c02b08b0c8371088543036e98ec208dc1652/http/server.go#L6

github.com/aratasato/geing-server/db

@atrn0
Copy link
Owner

atrn0 commented Oct 29, 2019

@tomoyat1 ありがとうございます🙏

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants