gocode(1)

gocode1

Autocompletion daemon for the go programming language

Usage

gocode [-s] [-f=<format>] [-in=<path>] [-sock=<type>] [-addr=<addr>]

Overview

This manual page documents briefly the gocode command.

gocode is an autocompletion daemon for the Go programming language. It is intended to be integraded with a source code editor, such as Emacs or Vim.

Options

-addr="localhost:37373"

Address for tcp socket

-f="nice"

Output format (vim | emacs | nice | csv | json)

-in=""

Use this file instead of stdin input

-s=false

Run a server instead of a client

-sock="unix"

socket type (unix | tcp)

Commands

autocomplete [<path>] <offset>

main autocompletion command

close

close the gocode daemon

status

gocode daemon status report

drop-cache

drop gocode daemon's cache

set [<name> [<value>]]

list or set config options

Releases

Unchanged in 2 releases since Debian 8 (Jessie).

  1. 8–9

Author

This manual page was written by Hilko Bengen <[email protected]>, for the Debian project (and may be used by others).

From gocode 20150303-3+deb9u2 in Debian 9 (Stretch). Parsed by carta from the page's man source.