# 突破限制,访问其它Go package中的私有函数

Go语言通过identifier的首字母是否大写来决定它是否可以被其它package所访问。

An identifier may be exported to permit access to it from another package. An identifier is exported if both:

the first character of the identifier's name is a Unicode upper case letter (Unicode class "Lu"); and
the identifier is declared in the package block or it is a field name or method name.

All other identifiers are not exported.