Skip to content

Commit

Permalink
chore: remove obsolete code
Browse files Browse the repository at this point in the history
  • Loading branch information
moshloop committed Nov 1, 2023
1 parent 41e714e commit 39543d6
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions strings/duration_gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,6 @@ import (
"github.com/google/cel-go/common/types/ref"
)

// var durationHumanize = cel.Function("HumanDuration",
// cel.Overload("duration.HumanDuration",
// []*cel.Type{cel.DynType},
// cel.StringType,
// cel.UnaryBinding(func(value ref.Val) ref.Val {
// return types.String(HumanDuration(value.Value()))
// }),
// ),
// )

func age(value ref.Val) ref.Val {
switch v := value.Value().(type) {
case int, int32, int64, float32, float64:
Expand Down

0 comments on commit 39543d6

Please sign in to comment.