Master Production-Ready Machine Learning, Step by Step
CISSP MasterClass with a true CAT exam simulator
Overview
Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This talk demonstrates how to write a static analyzer for Go code to catch preventable bugs. It develops checks for assignments, resource closing, defer, and error handling.
Syllabus
Introduction
Writing a static analysis tool
Run method
Check for assignment statement
Iterating over assignment statement
Defining closer and error types
Checking for close
Improving close
Handling defer
Handling errors
Close function
Single checker
Conclusion
Taught by
Gopher Academy