Closed gaocegege closed 6 years ago
Actually I prefer the test-infra in Kubernetes but it is a little heavy.
... @gaocegege why commit entire vendor when you have Gopkg.lock
And for directory layout, I prefer only put main in the cmd package and put most logic in pkg
, though it's just personal flavor
cmd
- dybot
main.go
pkg
- server
- util
- logutil
it is a little 重复。
@gaocegege 没有 util 后缀很容易跟其他变量名冲突,而且一般使用的时候包名带 util 也能跟很多标准库的包名避免冲突
We do not use any 标准库, we love gcommon
@gaocegege 以及我们把 dyweb 的 team 整理一下吧 ... 很多人都是不 active 的了, 就不要轰炸他们的邮箱了
你来吧,很多我都不认识。。
/cc @at15