What is Nostr?
Ankit :emacs: /
npub1f8n…vqmc
2024-05-13 13:49:40

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
Author Public Key
npub1f8ne20vgr68f4mutj3npk98ftavcrr92f347ss4d0seszp0a8zaswhvqmc