ankit's Blog

ankit's Avatar Image
Always looking for ways to integrate #emacs in life.

#emacs #guile #go #selfhosted
← All posts

I ran into some go code that use build tags. My existing test functions didn’t work. To handle build-tags, I defined go-build-tags in .dir-locals.el and used the variable in my functions.

((go-ts-mode . ((go-build-tags . “device,json1”))))

https://git.argp.in/ankit/dotfiles/commit/c5c165c830f9f61c88d366b8a01efb083ea4c97a

#emacs #golang

To like or reply, open original post on Emacs.ch