Menu
LogoLingCourseTAResearch
Programming
  • Container
  • Go
  • Python
  • JavaScript
  • Java
  • C++
  • Database
LinuxPhilosophy下厨房Blog
GitHub
LogoLing
  • Course
  • TA
  • Research
  • Programming
    • Container
    • Go
    • Python
    • JavaScript
    • Java
    • C++
    • Database
  • Linux
  • Philosophy
  • 下厨房
  • Blog
  • GitHub
  • Go
  • Hello, 世界
  • Package
  • Basic Type
  • Variable
  • Operator
  • Function
  • Condition
  • Defer
  • Pointer
  • Structs
  • Array
  • Map
  • New or Make
  • Methods and Interfaces
    • Method
    • init
    • Interface
  • Concurrency
    • Goroutine
    • WaitGroup
    • Channel
    • Select
    • Mutex
  • Code Organization
  • Dev

Dev

Your first program

  1. mkdir hello
  2. go mod init example.com/usr/hello
  3. vi hello.go
  4. git init
  5. git add go.mod go.sub hello.go
Edit this page
Last updated on 8/23/2020
Previous
« Code Organization
Copyright © 2024 Ling. Built with Docusaurus.