Function: go-tag-add
go-tag-add is an interactive and natively compiled function defined in
go-tag.el.
Signature
(go-tag-add TAGS)
Documentation
Add field TAGS for struct fields.
Key Bindings
This command is not in any keymaps.
Source Code
;; Defined in /nix/store/4jjjcvfszn24ybwdg82skyc9bkmmzbb9-emacs-packages-deps/share/emacs/site-lisp/elpa/go-tag-20230111.651/go-tag.el
;;;###autoload
(defun go-tag-add (tags)
"Add field TAGS for struct fields."
(interactive "sTags: ")
(let ((stags (go-tag--parse-tag tags))
(options (go-tag--parse-option tags)))
(if (use-region-p)
(go-tag--region (region-beginning) (region-end) stags options)
(go-tag--point (position-bytes (point)) stags options))))