Skip to content

Commit 8d8d9a7

Browse files
committed
indicator/rsi: make update callback field private
1 parent b2538b6 commit 8d8d9a7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pkg/indicator/rsi.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ type RSI struct {
2222
PreviousAvgGain float64
2323

2424
EndTime time.Time
25-
UpdateCallbacks []func(value float64)
25+
updateCallbacks []func(value float64)
2626
}
2727

2828
func (inc *RSI) Update(price float64) {

pkg/indicator/rsi_callbacks.go

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)