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

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, path names, dummy URLs, user input, and Twitter handles. Here is an example: "We'll also cover some concepts that are specific to Go, such as slice, panic, and defer."

A block of code is set as follows:

package mypackage

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

type Student struct{
Person
studentId int
}

func (s Student) GetStudentID()int{
return s.studentId
}

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

go install

Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "This is called type inference, since you infer the variable type from the provided value."

Warnings or important notes appear like this.
Tips and tricks appear like this.
主站蜘蛛池模板: 宜宾县| 烟台市| 墨竹工卡县| 柳江县| 泊头市| 张家港市| 光山县| 五台县| 前郭尔| 蓝山县| 南皮县| 安阳市| 延川县| 龙海市| 昭平县| 高雄县| 金寨县| 清新县| 当雄县| 长乐市| 澄江县| 塔城市| 昌邑市| 林甸县| 于都县| 扬中市| 岑巩县| 绥棱县| 高邮市| 上犹县| 东至县| 宁安市| 正镶白旗| 高安市| 句容市| 洪洞县| 鄂伦春自治旗| 当雄县| 中牟县| 太和县| 宝鸡市|