Skip to content

Commit

Permalink
Codecov bag to use v2 branch.
Browse files Browse the repository at this point in the history
  • Loading branch information
cinar committed Dec 3, 2023
1 parent 4fb02b2 commit a631675
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[![License](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
[![Go Report Card](https://goreportcard.com/badge/github.com/cinar/indicator)](https://goreportcard.com/report/github.com/cinar/indicator)
![Go CI](https://github.com/cinar/indicator/actions/workflows/ci.yml/badge.svg)
[![codecov](https://codecov.io/gh/cinar/indicator/branch/master/graph/badge.svg?token=MB7L69UAWM)](https://codecov.io/gh/cinar/indicator)
[![codecov](https://codecov.io/gh/cinar/indicator/branch/v2/graph/badge.svg?token=MB7L69UAWM)](https://codecov.io/gh/cinar/indicator)

# Indicator Go

Expand Down
10 changes: 5 additions & 5 deletions helper/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ fmt.Println(helper.ChanToSlice(squared)) // [4, 9, 25, 100]
```

<a name="ReadFromCsvFile"></a>
## func [ReadFromCsvFile](<https://github.com/cinar/indicator/blob/v2/helper/csv.go#L187>)
## func [ReadFromCsvFile](<https://github.com/cinar/indicator/blob/v2/helper/csv.go#L191>)

```go
func ReadFromCsvFile[T any](fileName string, hasHeader bool) (<-chan *T, error)
Expand Down Expand Up @@ -761,7 +761,7 @@ type BstNode[T Number] struct {
```

<a name="Csv"></a>
## type [Csv](<https://github.com/cinar/indicator/blob/v2/helper/csv.go#L38-L45>)
## type [Csv](<https://github.com/cinar/indicator/blob/v2/helper/csv.go#L39-L46>)

Csv represents the configuration for CSV reader and writer.

Expand All @@ -772,7 +772,7 @@ type Csv[T any] struct {
```

<a name="NewCsv"></a>
### func [NewCsv](<https://github.com/cinar/indicator/blob/v2/helper/csv.go#L49>)
### func [NewCsv](<https://github.com/cinar/indicator/blob/v2/helper/csv.go#L50>)

```go
func NewCsv[T any](hasHeader bool) (*Csv[T], error)
Expand All @@ -781,7 +781,7 @@ func NewCsv[T any](hasHeader bool) (*Csv[T], error)
NewCsv function initializes a new CSV instance. The parameter hasHeader indicates whether the CSV contains a header row.

<a name="Csv[T].ReadFromFile"></a>
### func \(\*Csv\[T\]\) [ReadFromFile](<https://github.com/cinar/indicator/blob/v2/helper/csv.go#L144>)
### func \(\*Csv\[T\]\) [ReadFromFile](<https://github.com/cinar/indicator/blob/v2/helper/csv.go#L145>)

```go
func (c *Csv[T]) ReadFromFile(fileName string) (<-chan *T, error)
Expand All @@ -790,7 +790,7 @@ func (c *Csv[T]) ReadFromFile(fileName string) (<-chan *T, error)
ReadFromFile parses the CSV data from the provided file name, maps the data to corresponding struct fields, and delivers the resulting snapshots through the channel.

<a name="Csv[T].ReadFromReader"></a>
### func \(\*Csv\[T\]\) [ReadFromReader](<https://github.com/cinar/indicator/blob/v2/helper/csv.go#L89>)
### func \(\*Csv\[T\]\) [ReadFromReader](<https://github.com/cinar/indicator/blob/v2/helper/csv.go#L90>)

```go
func (c *Csv[T]) ReadFromReader(reader io.Reader) <-chan *T
Expand Down

0 comments on commit a631675

Please sign in to comment.