func NewKey(c appengine.Context, kind, stringID string, intID int64, parent *Key) *Key
文档说明:
NewKey创建一个新的key,kind不能为空。stringID和intID中的一个或两个必须为零。如果两者都为零,则返回的键不完整。父级必须是完整的键或nil。
stringID中的零是什么意思?
我尝试过0和
nil,但我遇到了错误,例如:
<code><code>cannot use nil as type string in function argument
</code></code>