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
    VASSAL Engine
    VASSAL Engine
    VASSAL is a game engine for creating
    electronic versions of traditional board
    and card games. It provides support for
    game piece rendering and interaction,
    and...
    Download VASSAL Engine
  • 2
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    a...
    Download OpenPDF - Fork of iText
  • 3
    SAGA GIS
    SAGA GIS
    SAGA - System for Automated
    Geoscientific Analyses - is a Geographic
    Information System (GIS) software with
    immense capabilities for geodata
    processing and ana...
    Download SAGA GIS
  • 4
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 5
    D3.js
    D3.js
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    you...
    Download D3.js
  • 6
    Shadowsocks
    Shadowsocks
    A fast tunnel proxy that helps you
    bypass firewalls This is an application
    that can also be fetched from
    https://sourceforge.net/projects/shadowsocksgui/.
    It ha...
    Download Shadowsocks
  • More »

Linux commands

Ad