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

无聊了,问个统计性问题

  •  
  •   drealism · Apr 8, 2021 · 2119 views
    This topic created in 1861 days ago, the information mentioned may be changed or developed.

    大家喜欢

    err := xxx()
    if err != nil {
        yyy
    }
    

    or

    if err := xxx(); err != nil {
        yyy
    }
    

    哪种呢?

    7 replies    2021-04-16 15:45:37 +08:00
    Dockerfile
        1
    Dockerfile  
       Apr 9, 2021
    2
    RLinux
        2
    RLinux  
       Apr 9, 2021
    1
    zm8m93Q1e5otOC69
        3
    zm8m93Q1e5otOC69  
       Apr 9, 2021
    不是开发 go 的,感觉 1 更好理解
    junan0708
        4
    junan0708  
       Apr 9, 2021
    1
    labulaka521
        5
    labulaka521  
       Apr 9, 2021 via iPhone
    2
    chimojiacai
        6
    chimojiacai  
       Apr 9, 2021
    是情况而定
    大多时候是 2
    walk1ng
        7
    walk1ng  
       Apr 16, 2021 via iPhone
    2
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1061 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 45ms · UTC 18:43 · PVG 02:43 · LAX 11:43 · JFK 14:43
    ♥ Do have faith in what you're doing.