Code for bytedance's article https://www.toutiao.com/article/7146532072629207582/
- I put the html file in
docs/
- Adaption
- Error fix
- Infra
commit each stage, so user can tell difference between Before and After :)
go install github.com/google/wire/cmd/wire@latest
- Missing DB won't give you an error
BuildInjector must pass in db argument I found err when use wire mode Goland plugin however, not sure how to print error in wire.
Clues to fix comes from sample
In cli no error shows, no file generated.