JavaRush
AI Academy
new
Promotion
Learning
Courses
Tasks
Quizzes
Games
Help
Schedule of nudges
Internship
Community
Users
Forum
Chat
Articles
Activities
Reviews
Subscriptions
Light theme

Lectures

  • Reviews
  • About us
  • CS50
Start
Start learning
Start learning
  • My progress
  • Courses
  • Quest map
  • Lectures
  • go build — packages, ./..., -o

    Go SELF
    54 level,0 lecture
    We break down building in Go using go build: how Go builds not “files” but packages and dependencies, what the ./... target really means, when a binary appears (only for package main + func main ()), how to control the output name/folder with the -o flag, and why a build often “creates nothing” because of the build cache.
    Open
  • Embedding the version via -ldflags -X and the --version command

    Go SELF
    54 level,1 lecture
    We walk through a practical way to “bake” build metadata directly into a Go binary at link time: pass version/commit/date via -ldflags and the -X option, store the values in the internal/buildinfo package (must be var, not const), and add a --version flag with an early exit and no side effects. At the end: common mistakes—import path from go.mod, quotes/spaces, and output to stdout/ stderr.
    Open
  • Go GOOS/GOARCH Cross-Compilation — the Minimal Set

    Go SELF
    54 level,2 lecture
    We break down the basic cross-compilation model in Go: how host differs from target, how to choose a build platform via the environment variables GOOS/ GOARCH, which combinations are most common, how to set them for go build, and how to “bake” the target into --version output via runtime. At the end — typical mistakes and ways to quickly diagnose build artifacts.
    Open
  • Release bundle: binary, README, examples, and notes

    Go SELF
    54 level,3 lecture
    We break down how to package a CLI application into a “release bundle”: a predictable folder with a binary, README, an examples/ directory, and release notes ( RELEASE_NOTES.md/ CHANGELOG.md). We’ll discuss the distribution contract, artifact naming (the app_version_GOOS_GOARCH format), required diagnostic flags --help and --version, and common mistakes when preparing releases.
    Open
  • Build reproducibility: versioning and artifact verification

    Go SELF
    54 level,4 lecture
    We break down practical build reproducibility in Go: which inputs affect the bytes of the resulting binary (sources, dependencies from go.mod/ go.sum, the toolchain version, GOOS/ GOARCH, -ldflags), how to embed a semantic fingerprint ( fingerprint) into the binary via --version, and how to verify file identity using sha256 (checksum).
    Open
Learn
  • Registration
  • Java course
  • Help with tasks
  • Pricing
Community
  • Users
  • Articles
  • Forum
  • Chat
  • Activities
Company
  • About us
  • Contacts
  • Reviews
  • FAQ
  • Support
JavaRushJavaRush — is an interactive online course for learning Java programming from scratch. It contains 1200 practical tasks with one-click solution checking, the necessary minimum of theory on Java basics, and motivating features that help you complete the course: games, quizzes, interesting projects and articles on effective learning and the career of a Java developer.
Follow us
Язык интерфейса
Русский
English
Українська
"Programmers are not born" © 2026 JavaRush
MastercardVisa
"Programmers are not born" © 2026 JavaRush