Tag: Go

Inlined defers in Go

Mon, Jan 20, 2020 Go’s defer keyword allows us to schedule a function to run before a function returns. Multiple functions can be deferred from a function. defer is often used to cleanup resources, finish function-scoped...

Read More

Go fearless SQL

Sqlvet performs static analysis on raw SQL queries in your Go code base to surface potential runtime errors at build time. Feature highlights: Check for SQL syntax error Identify unsafe queries that could potentially lead to SQL...

Read More
Loading