Saturday, December 02, 2023

GoLang error handling syntax

clever! but not available, yet.

banging errors in go

   fd, err := os.Open(filename) if err != nil { return nil, err }

==

   fd := ^os.Open(filename)


No comments: