Skip to content

ChristianMartinezTech/Go

Repository files navigation

Go

What's Go?

  • Created by Google
  • Open source
  • Compiled (Fast compilation compared to other programming languages)
  • Statically typed
  • Native concurrency support
  • Used for: backend programming, game development, cloud-based programming, Data Science, and command-line tools.

Installation

  • sudo apt install golang-go (Ubuntu 20.04)

Go Commands

  • run compile and run Go program
  • build compile packages and dependencies
  • get add dependencies to current module and install them
  • install compile and install packages and dependencies
  • version print Go version
  • bug start a bug report
  • clean remove object files and cached files
  • doc show documentation for package or symbol
  • env print Go environment information
  • fix update packages to use new APIs
  • fmt gofmt (reformat) package sources
  • generate generate Go files by processing source
  • list list packages or modules
  • mod module maintenance
  • test test packages
  • tool run specified go tool
  • vet report likely mistakes in packages

Package installation

  • go mod init (file)
  • go mod tidy

MAKE SURE TO USE THE LATEST GO VERSION

Sources

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages