go 反射包

一、什么是反射?

反射是用程序检查其所拥有的结构,尤其是类型的一种能力;

二、Printf

Printf 的函数声明为:

func Printf(format string, args ... interface{}) (n int, err error)

  

... 参数为空接口类型。

猜你喜欢

转载自www.cnblogs.com/liubiaos/p/9376908.html