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

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.
主站蜘蛛池模板: 麻栗坡县| 阳朔县| 临江市| 长沙县| 临泽县| 梁平县| 鄂温| 含山县| 安乡县| 天祝| 天祝| 同心县| 河津市| 固镇县| 上栗县| 绍兴县| 耒阳市| 宁海县| 景谷| 三台县| 商河县| 怀安县| 玛沁县| 延津县| 承德市| 博罗县| 临泽县| 顺昌县| 巴里| 荥阳市| 武功县| 罗源县| 万山特区| 星子县| 江孜县| 萝北县| 钟祥市| 格尔木市| 延津县| 丰都县| 沙湾县|