官术网_书友最值得收藏!

Conventions used

There are a number of text conventions used throughout this book.

CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. For example, "Now that we have all the code in place, let's build the Docker image using the Dockerfile file."

A block of code is set as follows:

// addInt.go 
 
package main 
 
func addInt(numbers ...int) int { 
    sum := 0 
    for _, num := range numbers { 
        sum += num 
    } 
    return sum 
} 

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

// addInt.go 
 
package main 
 
func addInt(numbers ...int) int { 
    sum := 0 
    for _, num := range numbers { 
        sum += num 
    } 
    return sum 
} 

Any command-line input or output is written as follows:

$ cd docker

Bold: Indicates a new term, an important word, or words that you see on the screen, for example, in menus or dialog boxes, also appear in the text like this. For example, "Select System info from the Administration panel."

Warnings or important notes appear like this.
Tips and tricks appear like this.
主站蜘蛛池模板: 鸡东县| 泽州县| 东平县| 剑河县| 上林县| 宁武县| 清远市| 平和县| 山东| 醴陵市| 米泉市| 崇礼县| 襄城县| 那坡县| 曲松县| 铁力市| 锦州市| 焦作市| 北海市| 江山市| 陆川县| 鄂托克前旗| 叶城县| 香河县| 辉南县| 安泽县| 天全县| 呼图壁县| 禄劝| 台中县| 泽库县| 山丹县| 阳春市| 福清市| 高阳县| 施甸县| 浦北县| 巴林右旗| 阿克苏市| 东至县| 民丰县|