Skip to content

Instantly share code, notes, and snippets.

@patrickdevivo
Created Aug 12, 2021
Embed
What would you like to do?
SELECT
count(*),
json_extract(value, '$.mod.path') AS dep
FROM
google_go_mod,
json_each(go_mod_to_json(go_mod), '$.require')
GROUP BY dep ORDER BY count(*);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment