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

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.
主站蜘蛛池模板: 突泉县| 太仆寺旗| 高平市| 加查县| 林甸县| 宝兴县| 云龙县| 兴安盟| 晋城| 宁河县| 岳阳市| 墨竹工卡县| 抚州市| 齐齐哈尔市| 彭泽县| 来凤县| 康保县| 邹平县| 介休市| 恩施市| 陈巴尔虎旗| 禹城市| 马尔康县| 兴化市| 刚察县| 柳河县| 广州市| 陆川县| 聂拉木县| 元氏县| 绥滨县| 林甸县| 镇赉县| 兴城市| 昭苏县| 寿阳县| 汉源县| 余姚市| 澜沧| 田东县| 通河县|