Skip to content

Commit

Permalink
replace spf13/cast to childe/cast
Browse files Browse the repository at this point in the history
I fork it from blacktop/cast which forks from spf13/cast

blacktop fix a ToUnitE bug in spf13/cast, but not merged yet.

I have to fork it and rename to childe/spf13 in go.mod,
and then user can `go install childe/gohanogut`
  • Loading branch information
childe committed Jul 16, 2024
1 parent 932879a commit a325c73
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 62 deletions.
2 changes: 1 addition & 1 deletion filter/convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import (
"errors"
"strconv"

"github.com/childe/cast"
"github.com/childe/gohangout/field_setter"
"github.com/childe/gohangout/topology"
"github.com/childe/gohangout/value_render"
"github.com/spf13/cast"
"k8s.io/klog/v2"
)

Expand Down
15 changes: 1 addition & 14 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ go 1.13
require (
github.com/ClickHouse/clickhouse-go v1.5.4
github.com/Masterminds/sprig/v3 v3.2.2
github.com/childe/cast v1.5.4
github.com/childe/healer v0.6.5
github.com/fsnotify/fsnotify v1.5.1
github.com/ipipdotnet/datx-go v0.0.0-20181123035258-af996d4701a0
Expand All @@ -14,21 +15,7 @@ require (
github.com/mitchellh/mapstructure v1.5.0
github.com/oliveagle/jsonpath v0.0.0-20180606110733-2e52cf6e6852
github.com/prometheus/client_golang v1.12.1
github.com/spf13/cast v1.4.1
github.com/yalp/jsonpath v0.0.0-20180802001716-5cc68e5049a0
gopkg.in/yaml.v2 v2.4.0
k8s.io/klog/v2 v2.120.1
)

require (
github.com/bkaradzic/go-lz4 v1.0.1-0.20160924222819-7224d8d8f27e // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/huandu/xstrings v1.3.2 // indirect
github.com/imdario/mergo v0.3.12 // indirect
github.com/mitchellh/copystructure v1.2.0 // indirect
github.com/shopspring/decimal v1.3.1 // indirect
golang.org/x/crypto v0.24.0 // indirect
)

replace github.com/spf13/cast v1.4.1 => github.com/oasisprotocol/cast v0.0.0-20220606122631-eba453e69641
Loading

0 comments on commit a325c73

Please sign in to comment.