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

Method Get

asset/sql_repository.go:112–114  ·  view source on GitHub ↗

Get attempts to return a channel of snapshots for the asset with the given name.

(name string)

Source from the content-addressed store, hash-verified

110
111// Get attempts to return a channel of snapshots for the asset with the given name.
112func (s *SQLRepository) Get(name string) (<-chan *Snapshot, error) {
113 return s.GetSince(name, time.Date(2000, 1, 1, 0, 0, 0, 0, time.UTC))
114}
115
116// GetSince attempts to return a channel of snapshots for the asset with the given name since the given date.
117func (s *SQLRepository) GetSince(name string, date time.Time) (<-chan *Snapshot, error) {

Callers 1

TestSQLRepositoryFunction · 0.95

Calls 1

GetSinceMethod · 0.95

Tested by 1

TestSQLRepositoryFunction · 0.76