Function: go-tag--region

go-tag--region is a natively compiled function defined in go-tag.el.

Signature

(go-tag--region START END TAGS &optional OPTIONS)

Documentation

Add field TAGS for the region between START and END.

Source Code

;; Defined in /nix/store/4jjjcvfszn24ybwdg82skyc9bkmmzbb9-emacs-packages-deps/share/emacs/site-lisp/elpa/go-tag-20230111.651/go-tag.el
(defun go-tag--region (start end tags &optional options)
  "Add field TAGS for the region between START and END."
  (let ((cmd-args (append
                   go-tag-args
                   (list "-line" (format "%S,%S" (line-number-at-pos start) (line-number-at-pos end))))))
    (go-tag--add cmd-args tags options)))