File godef.1 of Package golang-github-rogpeppe-godef

.\" (C) Copyright 2017 Carlos Hernandez <carlos@techbyte.ca>
.\"
.TH GODEF 1
.SH NAME
gocode \- autocompletion daemon for the Go programming language
.SH SYNOPSIS
.B gocode
.RI [-t]\ [-a]\ [-A]\ [-o\ <offset>]\ [-i]\ [-f\ <file>]\ [-acme]\ [expression]
.SH DESCRIPTION
This manual page documents briefly the
.B godef
command.
.PP
\fBgodef\fP prints the source location of definitions in Go programs.
.SH OPTIONS
.TP
.B \-f <file>
Source file in which to evaluate expression
.TP
.B expression
Must be an identifier or a Go expression
terminated with a field selector
.TP
.B \-t
Return the given expression's type
.TP
.B \-a
Return all public members (fields and methods)
of the expression, and their location
.TP
.B \-A
Return all public and private members (fields and methods)
of the expression, and their location
.TP
.B \-i
Read source from STDIN
File must still be specified
.TP
.B \-acme
Offset, file name and contents
are read from the current acme window
.SH AUTHOR
This manual page was written by Carlos Hernandez <carlos@techbyte.ca>, for
openSUSE (and may be used by others).
openSUSE Build Service is sponsored by