Created
September 21, 2019 21:30
-
-
Save dhruvr/08a9ee0b81729709fb8e96c819b82b09 to your computer and use it in GitHub Desktop.
Revisions
-
dhruvr created this gist
Sep 21, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ func Close(r *os.File) { err := r.Close() if err != nil { logger.Errorn("Problem while closing the connection", err) } }