Close closes the database connection.
()
| 80 | |
| 81 | // Close closes the database connection. |
| 82 | func (s *SQLRepository) Close() error { |
| 83 | return helper.CloseDatabaseWithError(s.db, nil) |
| 84 | } |
| 85 | |
| 86 | // Assets returns the names of all assets in the respository. |
| 87 | func (s *SQLRepository) Assets() ([]string, error) { |