indes / flowerss-bot

A telegram bot for rss reader. 一个支持应用内阅读的 Telegram RSS Bot。
https://flowerss-bot.now.sh/
MIT License
1.81k stars 237 forks source link

chore: update go version of dockerfile #190

Closed hellodword closed 1 year ago

hellodword commented 1 year ago

关于编译用的 go 版本选择: https://go.dev/doc/devel/release#policy

关于移除 CGO 相关: 注意到用了 cgo-free 的 sqlite 库,所以是可以去除的。

关于 build flag: -trimpath-s -w 可以缩减体积; buildid= 是为了编译的可重复性,参见 https://github.com/golang/go/issues/34186

codecov-commenter commented 1 year ago

Codecov Report

Merging #190 (9b57e90) into master (9d96e38) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #190   +/-   ##
=======================================
  Coverage   11.06%   11.06%           
=======================================
  Files          14       14           
  Lines         660      660           
=======================================
  Hits           73       73           
  Misses        577      577           
  Partials       10       10           
Flag Coverage Δ
unittests 11.06% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

indes commented 1 year ago

thanks