use line-number-at-pos isntead of count-lines
use line-number-at-pos isntead of count-lines

count-lines would return a wrong line number if point is at the
beginning of a line

magastzheng/go-mode.el,kimiby/go-mode.el,codemac/go-mode.el,dominikh/go-mode.el,gorakhargosh/go-mode.el,tjyang/go-mode.el,emacsmirror/go-mode,artemave/go-mode.el,ibukanov/go-mode.el