Skip to content

Commit

Permalink
Remove deprecated in code and benchmarks.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Kuzmin committed Aug 6, 2020
1 parent 211e5af commit 677852d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions bench/bench_nan_full_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@ import (
func newNanFull() nanFull {
return nanFull{
Field000: nan.String("7676"),
Field001: nan.BoolToNullBool(true),
Field002: nan.Int64ToNullInt64(7676),
Field003: nan.TimeToNullTime(time.Now()),
Field001: nan.Bool(true),
Field002: nan.Int64(7676),
Field003: nan.Time(time.Now()),
}
}

func newNanFullJSON() nanFullJSON {
return nanFullJSON{
Field000: nan.String("7676"),
Field001: nan.BoolToNullBool(true),
Field002: nan.Int64ToNullInt64(7676),
Field003: nan.TimeToNullTime(time.Now()),
Field001: nan.Bool(true),
Field002: nan.Int64(7676),
Field003: nan.Time(time.Now()),
}
}

Expand Down

0 comments on commit 677852d

Please sign in to comment.