Skip to content

Commit a46afb8

Browse files
committed
minor fixes
1 parent b10dfa8 commit a46afb8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pkg/functions/functions.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ var fmap = map[string]interface{}{
198198
"get_v_from_list_at_index": GetValueFromListAtIndex,
199199
"get_v": GetV,
200200
"set_v": SetV,
201-
"fromcsv": Fromcsv,
201+
"fromcsv": FromCsv,
202202
}
203203

204204
func Atoi(s string) int {

pkg/functions/utilities.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ func Inject(probability float64, injected, original any) any {
9898
return original
9999
}
100100

101-
// Fromcsv gets the label value from csv file
102-
func Fromcsv(c string) string {
101+
// FromCsv gets the label value from csv file
102+
func FromCsv(c string) string {
103103
ctx.JrContext.CtxCSVLock.Lock()
104104
defer ctx.JrContext.CtxCSVLock.Unlock()
105105

0 commit comments

Comments
 (0)