Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Writing a Static Analyzer for Go Code

Gopher Academy via YouTube

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

Reviews

Start your review of Writing a Static Analyzer for Go Code

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.