github.com/alicebob/schemaspy (go): schemaspy reads the definition of a PostgreSQL schema: tables, functions, indexes &c. and returns it as a datastructure.  It can't change things; the use case is for maintenance and setup scripts which need to inspect the current state of the database. Those scripts are expected to draw their conclusions and if needed apply their changes with `ALTER` commands.
Keywords: database|go|postgresql|schema