Update to gobook@4fdc3c0a831c14c716c2c013e42268f6d21a9a13
Change-Id: I63623453205b84eba5680e27f68e81e99e7bbeb9
This commit is contained in:
@@ -5,7 +5,7 @@ package tempconv
|
||||
|
||||
import "fmt"
|
||||
|
||||
func Example1() {
|
||||
func Example_one() {
|
||||
{
|
||||
//!+arith
|
||||
fmt.Printf("%g\n", BoilingC-FreezingC) // "100" °C
|
||||
@@ -24,7 +24,7 @@ func Example1() {
|
||||
// 180
|
||||
}
|
||||
|
||||
func Example2() {
|
||||
func Example_two() {
|
||||
//!+printf
|
||||
c := FToC(212.0)
|
||||
fmt.Println(c.String()) // "100°C"
|
||||
|
||||
Reference in New Issue
Block a user