OnWorks favicon

go-build - Online in the Cloud

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

This is the command go-build 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



go - tool for managing Go source code


go build [-o output] [ build flags ] [ packages ]


Build compiles the packages named by the import paths, along with their dependencies, but
it does not install the results.

If the arguments are a list of .go files, build treats them as a list of source files
specifying a single package.

When the command line specifies a single main package, build writes the resulting
executable to output. Otherwise build compiles the packages but discards the results,
serving only as a check that the packages can be built.

The -o flag specifies the output file name. If not specified, the name is packagename.a
(for a non-main package) or the base name of the first source file (for a main package).


The build flags are shared by the build, install, run, and test commands:

-a force rebuilding of packages that are already up-to-date.

-n print the commands but do not run them.

-p n the number of builds that can be run in parallel. The default is the number of CPUs

-v print the names of packages as they are compiled.

-work print the name of the temporary work directory and do not delete it when exiting.

-x print the commands.

-compiler name
name of compiler to use, as in runtime.Compiler (gccgo or gc)

-gccgoflags 'arg list'
arguments to pass on each gccgo compiler/linker invocation

-gcflags 'arg list'
arguments to pass on each 5g, 6g, or 8g compiler invocation

-ldflags 'flag list'
arguments to pass on each 5l, 6l, or 8l linker invocation

-tags 'tag list'
a list of build tags to consider satisfied during the build. See the documentation
for the go/build package for more information about build tags.

For more about specifying packages, see go-packages(7).

For more about where packages and binaries are installed, see go-gopath(1).

Use go-build online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Laravel is a free, open-source PHP web
    framework. Features:Expressive,
    beautiful syntax.Database agnostic
    migrationsSchema builderPainless
    routingPowerful queu...
    Download Laravel
  • 2
    nmon for Linux
    nmon for Linux
    nmon is short for Nigel's
    Performance Monitor It either shows you
    the stats on-screen updating once a
    second or saves the data to a CSV file
    for later anal...
    Download nmon for Linux
  • 3
    VBA-M (Archived - Now on Github)
    VBA-M (Archived - Now on Github)
    Project has moved to
    Features:Cheat creationsave statesmulti
    system, supports gba, gbc, gb, sgb,
    Download VBA-M (Archived - Now on Github)
  • 4
    Linux System Optimizer and Monitoring
    Github Repository:
    Audience: End Users/Desktop. User
    interface: Qt. Programming La...
    Download Stacer
  • 5
    Fork of TeamWinRecoveryProject(TWRP)
    with many additional functions, redesign
    and more Features:Supports Treble and
    non-Treble ROMsUp-to-date Oreo kernel,
    Download OrangeFox
  • 6
    itop - ITSM  CMDB OpenSource
    itop - ITSM CMDB OpenSource
    IT Operations Portal: a complete open
    source, ITIL, web based service
    management tool including a fully
    customizable CMDB, a helpdesk system and
    a document man...
    Download itop - ITSM CMDB OpenSource
  • 7
    Clementine is a multi-platform music
    player and library organizer inspired by
    Amarok 1.4. It has a fast and
    easy-to-use interface, and allows you to
    search and ...
    Download Clementine
  • More »

Linux commands