Golang Tutorial

Golang Reference

Golang Programs

Golang Practice

Golang Miscellaneous

What is workspace in Go language?

Learn about the workspace in Go language.
Submitted by IncludeHelp, on October 06, 2021

In the Go programming language, all programs are kept in a directory hierarchy that is called a workspace. A workspace is simply a root directory of your Go applications. A workspace contains three subdirectories at its root:

  1. src – It contains the source files organized as packages. We will write the Go applications inside the src directory.
  2. pkg – It contains Go package objects.
  3. bin – It contains executable programs.

Golang FAQ »

Comments and Discussions!

Load comments ↻

Copyright © 2024 www.includehelp.com. All rights reserved.