go_lang_mm_book
Go Lang မြန်မာ Book (Gemini 3 ဖြင့် ရေးသားသည်)
File Explorer
- settings.local.json
- build-print.js
- generate-pdf.js
- print-template.html
- generate.sh
- package.json
- pdf-generate.md
- .gitignore
- AGENTS.md
- chapter_01.md
- chapter_02.md
- chapter_03.md
- chapter_04.md
- chapter_05.md
- chapter_06.md
- chapter_07.md
- chapter_08.md
- chapter_09.md
- chapter_10.md
- chapter_11.md
- chapter_12.md
- chapter_13.md
- chapter_14.md
- chapter_15.md
- chapter_16.md
- chapter_17.md
- chapter_18.md
- chapter_19.md
- chapter_20.md
- chapter_21.md
- chapter_22.md
- chapter_23.md
- CLAUDE.md
- README.md
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
interface
View Details ▼
interface
Manage interfaces.
Accessed in configuration mode.
interface vlan {{1}}
Configure a VLAN:
{{no shutdown|shutdown}}
Set an interface to be active or inactive (this is run inside the interface command):
fmt
View Details ▼
fmt
Reformat a text file by joining its paragraphs and limiting the line width to a number of characters (75 by default).
fmt {{path/to/file}}
Reformat a file:
fmt {{[-w|--width]}} {{n}} {{path/to/file}}
Reformat a file producing output lines of (at most) `n` characters:
fmt {{[-s|--split-only]}} {{path/to/file}}
Reformat a file without joining lines shorter than the given width together:
go build
View Details ▼
go build
Compile Go sources.
go build {{path/to/main.go}}
Compile a 'package main' file (output will be the filename without extension):
go build -o {{path/to/binary}} {{path/to/source.go}}
Compile, specifying the output filename:
go build -o {{path/to/binary}} {{path/to/package}}
Compile a package:
go install
View Details ▼
go install
Compile and install packages named by the import paths.
go install
Compile and install the current package:
go install {{path/to/package}}
Compile and install a specific local package:
go install {{golang.org/x/tools/gopls}}@{{latest}}
Install the latest version of a program, ignoring `go.mod` in the current directory:
go mod
View Details ▼
go mod
Module maintenance.
go mod init {{module_name}}
Initialize new module in current directory:
go mod download
Download modules to local cache:
go mod tidy
Add missing and remove unused modules:
go run
View Details ▼
go run
Compile and run Go code without saving a binary.
go run {{path/to/file.go}}
Run a Go file:
go run {{path/to/package}}
Run a main Go package:
select
View Details ▼
select
Bash builtin construct for creating menus.
select {{word}} in {{apple orange pear banana}}; do echo ${{word}}; done
Create a menu out of individual words:
select {{line}} in $({{command}}); do echo ${{line}}; done
Create a menu from the output of another command:
PS3="{{Select a file: }}"; select {{file}} in *; do echo ${{file}}; done
Specify the prompt string for `select` and create a menu for picking a file or folder from the current directory:
strings
View Details ▼
strings
Find printable strings in an object file or binary.
strings {{path/to/file}}
Print all strings in a binary:
strings {{[-n|--bytes]}} {{n}} {{path/to/file}}
Limit results to strings at least n characters long:
strings {{[-t|--radix]}} d {{path/to/file}}
Prefix each result with its offset within the file:
