If you haven't already, I suggest checking that there isn't a difference in your Go setup, by working out the "go run ..." command that is being run below, and running that manually yourself.


On 25 October 2018 05:28:53 BST, Mario Martelli <tlmtr@schnuddelhuddel.de> wrote:
Morning,

recently I tried to use ob-go and ran immediately into:

org-babel-execute:go: Invalid function: (results (org-babel-eval (format "%s run %s \"%s\" %s" org-babel-go-command (mapconcat (quote identity) (org-babel-go-as-list flags) " ") (org-babel-process-file-name tmp-src-file) (mapconcat (function (lambda (a) (format "%S" (if (symbolp a) (let* (... ...) (if ... ... out)) a)))) (org-babel-go-as-list args) " ")) ""))

The strange thing is, that this only happens on my Mac. On my CentOS machine it works like a charm. Both machines run on Emacs 26.1b1 and org mode 9.1.9-65-g5e454. All packages are from Melpa and the machines share the same .emacs.

I have no idea how to get to the bottom of this phenomenon. Any hint or help would be appreciated very much.

Thank you
Mario

—