请问 lsp-go 怎么配置?

请问 lsp-go怎么配置啊? 我下载了lsp-go, 但是

File mode specification error: (void-function lsp-go-enable)

这个是目前在用的一个配置,不过由于这个依赖于 GitHub - sourcegraph/go-langserver: Go language server to add Go support to editors and other tools that use the Language Server Protocol (LSP) 的功能实现,所以现在自动补全还不怎么好用

  ;; Golang lsp
  (lsp-define-stdio-client
   lsp-go
   "go"
   (lambda () default-directory)
   '("go-langserver" "-mode=stdio" "-gocodecompletion")
   :ignore-regexps
   '("^langserver-go: reading on stdin, writing on stdout$"))

  (add-hook 'go-mode-hook #'lsp-go-enable)

我用的也是这个

请问 require我在 spacemacs的包里应该怎么写?

(setq cquery-executable "/usr/local/bin/cquery")

(add-hook 'c-mode-hook #'lsp-cquery-enable)
(add-hook 'c++-mode-hook #'lsp-cquery-enable)
(add-hook 'python-mode-hook #'lsp-python-enable)
(add-hook 'go-mode #'lsp-go-enable)

上面几个都生效了??

init-lsp-go要写些什么东西吗?

好的吧~ 谢谢!