doc

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2019 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

因为 temp 的类型是 *Celsius,而 *Celsius 实现了 String() 方法 所以在调用 fmt.Println(*temp) 会调用 String() 方法

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL