go_lang_mm_book

(★ 63)

Go Lang မြန်မာ Book (Gemini 3 ဖြင့် ရေးသားသည်)

파일 탐색기

  • .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

# CDN으로 사용하기

jsDelivr

jsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.

명령어 용어집

이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.

🔍

interface

설명 보기 ▼

인터페이스를 관리.
설정 모드에서 사용함.
더 많은 정보: <https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/interface/command/ir-cr-book/ir-i1.html>.

interface vlan {{1}}

VLAN 인터페이스 설정:

{{no shutdown|shutdown}}

인터페이스 활성화 또는 비활성화 (interface 명령 내부에서 실행):

🔍

fmt

설명 보기 ▼

단락을 결합하고 줄 너비를 문자 수 (기본적으로 75자)로 제한하여 텍스트 파일의 서식을 다시 지정.
더 많은 정보: <https://www.gnu.org/software/coreutils/manual/html_node/fmt-invocation.html>.

fmt {{path/to/file}}

파일 재포맷:

fmt {{[-w|--width]}} {{n}} {{path/to/file}}

(최대) `n` 문자의 출력 줄을 생성하는 파일 형식을 다시 지정:

fmt {{[-s|--split-only]}} {{path/to/file}}

주어진 너비보다 짧은 줄을 결합하지 않고, 파일 형식을 다시 지정:

🔍

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

설명 보기 ▼

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

설명 보기 ▼

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

설명 보기 ▼

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

설명 보기 ▼

메뉴를 생성하기 위한 Bash 내장 구조.
더 많은 정보: <https://www.gnu.org/software/bash/manual/bash.html#index-select>.

select {{word}} in {{apple orange pear banana}}; do echo ${{word}}; done

개별 단어로 메뉴 생성:

select {{line}} in $({{command}}); do echo ${{line}}; done

다른 명령의 출력으로 메뉴 생성:

PS3="{{Select a file: }}"; select {{file}} in *; do echo ${{file}}; done

`select`의 프롬프트 문자열을 지정하고 현재 디렉토리에서 파일이나 폴더를 선택하는 메뉴 생성:

🔍

strings

설명 보기 ▼

객체 파일이나 바이너리에서 출력 가능한 문자열을 찾습니다.
더 많은 정보: <https://manned.org/strings>.

strings {{path/to/file}}

바이너리의 모든 문자열 출력:

strings {{[-n|--bytes]}} {{n}} {{path/to/file}}

결과를 최소 n 글자 이상의 문자열로 제한:

strings {{[-t|--radix]}} d {{path/to/file}}

각 결과 앞에 파일 내 오프셋 접두사 추가:

// repository documentation