4 ms·And exceptions :)by tonyedgecombe 5y agoAnd exceptions :)szastamasta 5y agoPlease, just not exceptions.mseepgood 5y agoToo late, Go already has exceptions since 1.0.pjmlp 5y agoIndeeed, func ThrowIfError(err error) { if err != nil { panic(err) } } // .... name, err := FuncWithError() ThrowIfError(err)mseepgood 5y agoPanic and recover already exist, which are semantically exceptions.