Ankit :emacs: on Nostr: I ran into some go code that use build tags. My existing test functions didn't work. ...
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
((go-ts-mode . ((go-build-tags . "device,json1"))))
https://git.argp.in/ankit/dotfiles/commit/c5c165c830f9f61c88d366b8a01efb083ea4c97a
#emacs #golang