treehollow / treehollow-backend

T大树洞 的Golang后端
https://thuhole.com/
GNU Affero General Public License v3.0
168 stars 47 forks source link

"treehollow-v3-backend/pkg/bot" Seems To Be Missing #91

Closed yongzhengqi closed 3 years ago

yongzhengqi commented 3 years ago

In pkg/route/contents/route.go and pkg/route/contents/routeApiPOST.go, "treehollow-v3-backend/pkg/bot" is imported. However, this bot file seems to be missing from this repo.

When runnning go install ./..., the above absence will cause this error: pkg/route/contents/route.go:14:2: package treehollow-v3-backend/pkg/bot is not in GOROOT.

Looking forward to your reply.

yongzhengqi commented 3 years ago

It seems to be a modified version of https://pkg.go.dev/github.com/liquiddeath13/reactivetgbot.

thuhole commented 3 years ago

Thanks for your bug report, sorry this was because there was a file that was forgotten to be git-added. You can git pull and try again now.

yongzhengqi commented 3 years ago

It works. Thank you for your help.