Skip to content

post/golang-syntax-interface-introduce #123

@utterances-bot

Description

@utterances-bot

Golang 语法之接口

Interface 定义了方法集,只要某个类型实现了该接口的超集(实现了接口定义的所有方法,而且可能还有其它方法),那么就可以说这个类型实现了该接口。

https://gohalo.me/post/golang-syntax-interface-introduce.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions