This file used to track TODO list (when don't have access to internet)
-
git
should be able to clone public repo in github and private repo in self hosted gitlab -
git
should havegit.hosts
config in.ayi.yml
parsed by order, but golang map does not have order. (@gaocegege has met this before) -> use array instead -
viper
does not support array ofmap[string]interface{}
, need to usespf13/cast
to convert, which is also used byviper
. see git/config_test.goTestReadConfig
for detail
-
install
andupdate
should detect package manager likenpm
,composer
- #7 need to resolved to use coveralls.io
- https://github.com/go-playground/overalls can generate coverage report for multi package project
- https://github.com/uber-go/zap is a faster log library (TODO: the webframework I plan to use has its own logging library)
- use https://github.com/Sirupsen/logrus for logging and use the
color
package in logrus if possible - better shell execute, see
github/hub/cmd
, which usegithub.com/kballard/go-shellquote
for split and join