The Go Programming Language
http://golang.org/
Go Playground
Go Projects
Revel Web Framework
cxytz01

这段 golang 代码是什么意思,有相关文档吗?

  •  
  •   cxytz01 · Jul 29, 2022 · 2552 views
    This topic created in 1412 days ago, the information mentioned may be changed or developed.

    图片

    有相关的语法说明文档吗?

    7 replies    2022-07-30 13:15:58 +08:00
    andrew2558
        1
    andrew2558  
       Jul 29, 2022
    这段代码是函数会返回两个值,第一个值,就是_ 这个值不要了
    dic
        2
    dic  
       Jul 29, 2022   ❤️ 2
    检查 *LilyAPIStruct 是否实现了 LilyAPI 接口 , _ 忽略变量声明。
    dic
        3
    dic  
       Jul 29, 2022
    主要是能在编译期间检查
    caicaiwoshishui
        4
    caicaiwoshishui  
       Jul 29, 2022
    这个是用于变量断言的
    acehinnnqru
        5
    acehinnnqru  
       Jul 30, 2022
    用来做编译时检查的,dic 说的么问题
    Juszoe
        6
    Juszoe  
       Jul 30, 2022
    发现这是一个 golang 的月经问题
    placeholder
        7
    placeholder  
       Jul 30, 2022
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   933 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 19:37 · PVG 03:37 · LAX 12:37 · JFK 15:37
    ♥ Do have faith in what you're doing.