MCPcopy Create free account
hub / github.com/cinar/indicator / Close

Method Close

asset/sql_repository.go:82–84  ·  view source on GitHub ↗

Close closes the database connection.

()

Source from the content-addressed store, hash-verified

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

Callers 4

TestSQLRepositoryFunction · 0.95
GetSinceMethod · 0.45
LastDateMethod · 0.45

Calls 1

CloseDatabaseWithErrorFunction · 0.92

Tested by 2

TestSQLRepositoryFunction · 0.76