Your Question

should I close DB when I exit program over v1.20.0??? I w graceful exit !

The document you expected this should be explained

why connection.Close() is not available for GORM 1.20.0??

Comment From: a631807682

For graceful exit, you need to close it. https://gorm.io/docs/generic_interface.html#content-inner