News for hackers. Stuff that matters.
Re:Convert curl commands to Go code by nodesocket on Thursday February 11, 2016 @12:22AM (#11078386)
Go question. Is:

    if err != nil {
        // handle err
    }
Required, or can you also do:

    if err {
        // handle err
    }
Re:Convert curl commands to Go code by mnbbrown on Thursday February 11, 2016 @12:46AM (#11078451)
There's no implicit comparison (if that's the CompSci name) in Go. You have to explicitly compare (!= is required)