dotemacs

My Emacs configuration
git clone git://git.entf.net/dotemacs
Log | Files | Refs | LICENSE

go-mode-autoloads.el (6982B)


      1 ;;; go-mode-autoloads.el --- automatically extracted autoloads (do not edit)   -*- lexical-binding: t -*-
      2 ;; Generated by the `loaddefs-generate' function.
      3 
      4 ;; This file is part of GNU Emacs.
      5 
      6 ;;; Code:
      7 
      8 (add-to-list 'load-path (or (and load-file-name (file-name-directory load-file-name)) (car load-path)))
      9 
     10 
     11 
     12 ;;; Generated autoloads from go-guru.el
     13 
     14 (autoload 'go-guru-set-scope "go-guru" "\
     15 Set the scope for the Go guru, prompting the user to edit the previous scope.
     16 
     17 The scope restricts analysis to the specified packages.
     18 Its value is a comma-separated list of patterns of these forms:
     19 	golang.org/x/tools/cmd/guru     # a single package
     20 	golang.org/x/tools/...          # all packages beneath dir
     21 	...                             # the entire workspace.
     22 
     23 A pattern preceded by '-' is negative, so the scope
     24 	encoding/...,-encoding/xml
     25 matches all encoding packages except encoding/xml." t)
     26 (autoload 'go-guru-callees "go-guru" "\
     27 Show possible callees of the function call at the current point." t)
     28 (autoload 'go-guru-callers "go-guru" "\
     29 Show the set of callers of the function containing the current point." t)
     30 (autoload 'go-guru-callstack "go-guru" "\
     31 Show an arbitrary path from a root of the call graph to the
     32 function containing the current point." t)
     33 (autoload 'go-guru-definition "go-guru" "\
     34 Jump to the definition of the selected identifier.
     35 
     36 (fn &optional OTHER-WINDOW)" t)
     37 (autoload 'go-guru-definition-other-window "go-guru" "\
     38 Jump to the defintion of the selected identifier in another window" t)
     39 (autoload 'go-guru-describe "go-guru" "\
     40 Describe the selected syntax, its kind, type and methods." t)
     41 (autoload 'go-guru-pointsto "go-guru" "\
     42 Show what the selected expression points to." t)
     43 (autoload 'go-guru-implements "go-guru" "\
     44 Describe the 'implements' relation for types in the package
     45 containing the current point." t)
     46 (autoload 'go-guru-freevars "go-guru" "\
     47 Enumerate the free variables of the current selection." t)
     48 (autoload 'go-guru-peers "go-guru" "\
     49 Enumerate the set of possible corresponding sends/receives for
     50 this channel receive/send operation." t)
     51 (autoload 'go-guru-referrers "go-guru" "\
     52 Enumerate all references to the object denoted by the selected
     53 identifier." t)
     54 (autoload 'go-guru-whicherrs "go-guru" "\
     55 Show globals, constants and types to which the selected
     56 expression (of type 'error') may refer." t)
     57 (autoload 'go-guru-unhighlight-identifiers "go-guru" "\
     58 Remove highlights from previously highlighted identifier.")
     59 (autoload 'go-guru-hl-identifier "go-guru" "\
     60 Highlight all instances of the identifier under point. Removes
     61 highlights from previously highlighted identifier." t)
     62 (autoload 'go-guru-hl-identifier-mode "go-guru" "\
     63 Highlight instances of the identifier at point after a short
     64 
     65 timeout.
     66 
     67 This is a minor mode.  If called interactively, toggle the
     68 `Go-Guru-Hl-Identifier mode' mode.  If the prefix argument is
     69 positive, enable the mode, and if it is zero or negative, disable
     70 the mode.
     71 
     72 If called from Lisp, toggle the mode if ARG is `toggle'.  Enable
     73 the mode if ARG is nil, omitted, or is a positive number.
     74 Disable the mode if ARG is a negative number.
     75 
     76 To check whether the minor mode is enabled in the current buffer,
     77 evaluate `go-guru-hl-identifier-mode'.
     78 
     79 The mode's hook is called both when the mode is enabled and when
     80 it is disabled.
     81 
     82 (fn &optional ARG)" t)
     83 (register-definition-prefixes "go-guru" '("go-guru-"))
     84 
     85 
     86 ;;; Generated autoloads from go-mode.el
     87 
     88 (autoload 'go-mode "go-mode" "\
     89 Major mode for editing Go source text.
     90 
     91 This mode provides (not just) basic editing capabilities for
     92 working with Go code. It offers almost complete syntax
     93 highlighting, indentation that is almost identical to gofmt and
     94 proper parsing of the buffer content to allow features such as
     95 navigation by function, manipulation of comments or detection of
     96 strings.
     97 
     98 In addition to these core features, it offers various features to
     99 help with writing Go code. You can directly run buffer content
    100 through gofmt, read godoc documentation from within Emacs, modify
    101 and clean up the list of package imports or interact with the
    102 Playground (uploading and downloading pastes).
    103 
    104 The following extra functions are defined:
    105 
    106 - `gofmt'
    107 - `godoc' and `godoc-at-point'
    108 - `go-import-add'
    109 - `go-remove-unused-imports'
    110 - `go-goto-arguments'
    111 - `go-goto-docstring'
    112 - `go-goto-function'
    113 - `go-goto-function-name'
    114 - `go-goto-imports'
    115 - `go-goto-return-values'
    116 - `go-goto-method-receiver'
    117 - `go-play-buffer' and `go-play-region'
    118 - `go-download-play'
    119 - `godef-describe' and `godef-jump'
    120 - `go-coverage'
    121 - `go-set-project'
    122 - `go-reset-gopath'
    123 
    124 If you want to automatically run `gofmt' before saving a file,
    125 add the following hook to your emacs configuration:
    126 
    127 (add-hook 'before-save-hook #'gofmt-before-save)
    128 
    129 If you want to use `godef-jump' instead of etags (or similar),
    130 consider binding godef-jump to `M-.', which is the default key
    131 for `find-tag':
    132 
    133 (add-hook 'go-mode-hook (lambda ()
    134                           (local-set-key (kbd \"M-.\") #'godef-jump)))
    135 
    136 Please note that godef is an external dependency. You can install
    137 it with
    138 
    139 go get github.com/rogpeppe/godef
    140 
    141 
    142 If you're looking for even more integration with Go, namely
    143 on-the-fly syntax checking, auto-completion and snippets, it is
    144 recommended that you look at flycheck
    145 (see URL `https://github.com/flycheck/flycheck') or flymake in combination
    146 with goflymake (see URL `https://github.com/dougm/goflymake'), gocode
    147 (see URL `https://github.com/nsf/gocode'), go-eldoc
    148 (see URL `github.com/syohex/emacs-go-eldoc') and yasnippet-go
    149 (see URL `https://github.com/dominikh/yasnippet-go')
    150 
    151 (fn)" t)
    152 (add-to-list 'auto-mode-alist (cons "\\.go\\'" 'go-mode))
    153 (autoload 'gofmt-before-save "go-mode" "\
    154 Add this to .emacs to run gofmt on the current buffer when saving:
    155 (add-hook 'before-save-hook 'gofmt-before-save).
    156 
    157 Note that this will cause ‘go-mode’ to get loaded the first time
    158 you save any file, kind of defeating the point of autoloading." t)
    159 (autoload 'godoc "go-mode" "\
    160 Show Go documentation for QUERY, much like \\<go-mode-map>\\[man].
    161 
    162 (fn QUERY)" t)
    163 (autoload 'go-download-play "go-mode" "\
    164 Download a paste from the playground and insert it in a Go buffer.
    165 Tries to look for a URL at point.
    166 
    167 (fn URL)" t)
    168 (autoload 'go-dot-mod-mode "go-mode" "\
    169 A major mode for editing go.mod files.
    170 
    171 (fn)" t)
    172 (add-to-list 'auto-mode-alist '("go\\.mod\\'" . go-dot-mod-mode))
    173 (register-definition-prefixes "go-mode" '("go-" "god" "gofmt"))
    174 
    175 
    176 ;;; Generated autoloads from go-rename.el
    177 
    178 (autoload 'go-rename "go-rename" "\
    179 Rename the entity denoted by the identifier at point, using
    180 the `gorename' tool. With FORCE, call `gorename' with the
    181 `-force' flag.
    182 
    183 (fn NEW-NAME &optional FORCE)" t)
    184 (register-definition-prefixes "go-rename" '("go-"))
    185 
    186 ;;; End of scraped data
    187 
    188 (provide 'go-mode-autoloads)
    189 
    190 ;; Local Variables:
    191 ;; version-control: never
    192 ;; no-byte-compile: t
    193 ;; no-update-autoloads: t
    194 ;; no-native-compile: t
    195 ;; coding: utf-8-emacs-unix
    196 ;; End:
    197 
    198 ;;; go-mode-autoloads.el ends here