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

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.
主站蜘蛛池模板: 敦煌市| 钟祥市| 东源县| 濮阳市| 湘阴县| 黄梅县| 南阳市| 正安县| 桐梓县| 崇阳县| 新宾| 綦江县| 远安县| 额尔古纳市| 如东县| 洛浦县| 天长市| 南木林县| 郎溪县| 西畴县| 甘南县| 腾冲县| 岳西县| 高州市| 青河县| 苏州市| 榆社县| 樟树市| 淮阳县| 连江县| 宜川县| 元江| 徐水县| 依安县| 响水县| 汾阳市| 四平市| 英超| 襄汾县| 福海县| 惠来县|