EnglishFrenchSpanish

Ad


OnWorks favicon

gotype - Online in the Cloud

Run gotype in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command gotype that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


gotype - syntatic and semantic analysis of Go files

SYNOPSIS


gotype [flags] [ path ... ]

DESCRIPTION


The gotype command does syntactic and semantic analysis of Go files and packages like the
front-end of a Go compiler. Errors are reported if the analysis fails; otherwise gotype is
quiet (unless -v is set).

Without a list of paths, gotype reads from standard input, which must provide a single Go
source file defining a complete package.

If a single path is specified that is a directory, gotype checks the Go files in that
directory; they must all belong to the same package.

Otherwise, each path must be the filename of Go file belonging to the same package.

OPTIONS


-a use all (incl. _test.go) files when processing a directory

-ast print AST (forces -seq)

-comments
parse comments (ignored unless -ast or -trace is provided)

-e report all errors (not just the first 10)

-seq parse sequentially, rather than in parallel

-trace print parse trace (forces -seq)

-v verbose mode

EXAMPLES


To check the files a.go, b.go, and c.go:

gotype a.go b.go c.go

To check an entire package in the directory dir and print the processed files:

gotype -v dir

To check an entire package including tests in the local directory:

gotype -a .

To verify the output of a pipe:

echo "package foo" | gotype

Use gotype online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    OpenFOAM
    OpenFOAM
    OpenFOAM - The Open Source CFD Toolbox.
    OpenFOAM is a generic, programmable
    software tool for Computational Fluid
    Dynamics (CFD). For more information,
    see: - ...
    Download OpenFOAM
  • 2
    PostInstallerF
    PostInstallerF
    PostInstallerF will install all the
    software that Fedora Linux and others
    doesn't include by default, after
    running Fedora for the first time. Its
    easy for...
    Download PostInstallerF
  • 3
    strace
    strace
    The strace project has been moved to
    https://strace.io. strace is a
    diagnostic, debugging and instructional
    userspace tracer for Linux. It is used
    to monitor a...
    Download strace
  • 4
    JasperReports Library
    JasperReports Library
    JasperReports Library is the
    world's most popular open source
    business intelligence and reporting
    engine. It is entirely written in Java
    and it is able to ...
    Download JasperReports Library
  • 5
    Numerical Python
    Numerical Python
    NEWS: NumPy 1.11.2 is the last release
    that will be made on sourceforge. Wheels
    for Windows, Mac, and Linux as well as
    archived source distributions can be fou...
    Download Numerical Python
  • 6
    CMU Sphinx
    CMU Sphinx
    CMUSphinx is a speaker-independent large
    vocabulary continuous speech recognizer
    released under BSD style license. It is
    also a collection of open source tools ...
    Download CMU Sphinx
  • 7
    Old Feren OS Repositories
    Old Feren OS Repositories
    This was the Official Repository for
    Feren OS. To add the latest one, run
    this command: (16.04-based) echo
    "deb ...
    Download Old Feren OS Repositories
  • More »

Linux commands

Ad