//
pkg.gl
Category
github.com/lwabish/algorithm-and-language
the-go-program-language
ch2
tempconv
package
0.0.0-20240410091206-83acae1e09b0
Repository:
https://github.com/lwabish/algorithm-and-language.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
1
Dependents
0
Files
16 SLOC
#
Functions
CToF
类型转换错误在编译时检查.
FToC
No description provided by the author
#
Constants
AbsoluteZeroC
No description provided by the author
BoilingC
No description provided by the author
FreezingC
No description provided by the author
#
Type aliases
Celsius
Celsius(xxx) 类型转换,不是函数调用.
Fahrenheit
对于每一个类型T,都有一个对应的类型转换操作T(x),用于将x转为T类型 (译注:如果T是指针类型,可能会需要用小括弧包装T,比如(*int)(0)) */.