~$ 存档

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

== 本篇持久更新 ==

Type接口

PkgPath()string

原文如下:

// PkgPath returns a defined type's package path, that is, the import path
// that uniquely identifies the package, such as "encoding/base64".
// If the type was predeclared (string, error) or not defined (*T, struct{},
// []int, or A where A is an alias for a non-defined type), the package path
// will be the empty string.

【分析】


posted on 2022-09-07 02:32  LuoTian  阅读(30)  评论(0编辑  收藏  举报