astaxie
Build web application with Golang

Updated 7 months ago

pyli.xm (@pylixm1) started discussion #63

2 months ago · 0 comments

Open

这里有一点需要强调的是:element.(type)语法不能在switch外的任何逻辑里面使用,如果你要在switch外面判断一个类型就使用comma-ok。

interface (Edit this file)

comma-ok 如何使用?

No description provided.

No comments on this discussion.


to join this conversation on GitBook. Already have an account? Sign in to comment
Notifications

You’re not receiving notifications from this thread.


1 participant