3 ms·
OK, this works cos package ast already has `func Inspect`. So how about a more general case ? A case where we do not have a `func Inspect` already in the stdli
by euroderf 2y ago
OK, this works cos package ast already has `func Inspect`.
So how about a more general case ? A case where we do not have a `func Inspect` already in the stdlib ?
Maybe just replace it with (for example) `filepath.WalkDir` ?