paint-brush
Using Go Defer and Rust Drop to Defer the Call to Rollbackby@saward
117 reads

Using Go Defer and Rust Drop to Defer the Call to Rollback

by Mark Saward8mFebruary 8th, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Forgetting to close things off in Go can potentially come back to bite you. The most basic and straightforward method is to call rollback or commit.
featured image - Using Go Defer and Rust Drop to Defer the Call to Rollback
Mark Saward HackerNoon profile picture
Mark Saward

Mark Saward

@saward

CEO and Developer | PhD in Philosophy | Some things I like: Linux, Go, Rust, SQL, Devops

About @saward
LEARN MORE ABOUT @SAWARD'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Mark Saward HackerNoon profile picture
Mark Saward@saward
CEO and Developer | PhD in Philosophy | Some things I like: Linux, Go, Rust, SQL, Devops

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Also published here