Skip to content

Commit

Permalink
chore: bump kcl lib to 0.10.2
Browse files Browse the repository at this point in the history
Signed-off-by: peefy <[email protected]>
  • Loading branch information
Peefy committed Oct 14, 2024
1 parent d869f69 commit e48f9f2
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 224 deletions.
5 changes: 3 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ go 1.23
require (
github.com/chai2010/jsonv v1.1.3
github.com/chai2010/protorpc v1.1.4
github.com/emicklei/proto v1.13.2
github.com/getkin/kin-openapi v0.128.0
github.com/goccy/go-yaml v1.12.0
github.com/golang/protobuf v1.5.4
Expand All @@ -21,18 +22,18 @@ require (
google.golang.org/grpc v1.67.1
google.golang.org/protobuf v1.34.2
gopkg.in/yaml.v3 v3.0.1
kcl-lang.io/lib v0.10.1-rc.3
kcl-lang.io/lib v0.10.2
)

require (
github.com/bahlo/generic-list-go v0.2.0 // indirect
github.com/buger/jsonparser v1.1.1 // indirect
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/ebitengine/purego v0.7.1 // indirect
github.com/emicklei/proto v1.13.2
github.com/fatih/color v1.15.0 // indirect
github.com/go-openapi/jsonpointer v0.21.0 // indirect
github.com/go-openapi/swag v0.23.0 // indirect
github.com/gofrs/flock v0.12.1 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/invopop/yaml v0.3.1 // indirect
github.com/josharian/intern v1.0.0 // indirect
Expand Down
6 changes: 4 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ github.com/go-test/deep v1.0.8 h1:TDsG77qcSprGbC6vTN8OuXp5g+J+b5Pcguhf7Zt61VM=
github.com/go-test/deep v1.0.8/go.mod h1:5C2ZWiW0ErCdrYzpqxLbTX7MG14M9iiw8DgHncVwcsE=
github.com/goccy/go-yaml v1.12.0 h1:/1WHjnMsI1dlIBQutrvSMGZRQufVO3asrHfTwfACoPM=
github.com/goccy/go-yaml v1.12.0/go.mod h1:wKnAMd44+9JAAnGQpWVEgBzGt3YuTaQ4uXoHvE4m7WU=
github.com/gofrs/flock v0.12.1 h1:MTLVXXHf8ekldpJk3AKicLij9MdwOWkZ+a/jHHZby9E=
github.com/gofrs/flock v0.12.1/go.mod h1:9zxTsyu5xtJ9DK+1tFZyibEV7y3uwDxPPfbxeeHCoD0=
github.com/golang/protobuf v1.0.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek=
github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps=
Expand Down Expand Up @@ -113,5 +115,5 @@ gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntN
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
kcl-lang.io/lib v0.10.1-rc.3 h1:+3sCOLV3ay9JHwvaZKOJgX9hwb2MO5OiGbAtsNLH5E4=
kcl-lang.io/lib v0.10.1-rc.3/go.mod h1:MfVEiCo3Yr6jZqwSo84WmjFZdqNRtXMbGtDwUM27kTY=
kcl-lang.io/lib v0.10.2 h1:Jti2dedSc+E5Ix9jH3ur7D4FnwMve2zChMrqExQHyHo=
kcl-lang.io/lib v0.10.2/go.mod h1:gLxxHHwHTSvN0LH2r36OhsXq28VniI440enqvI75l7M=
2 changes: 2 additions & 0 deletions pkg/env/env.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,13 @@ func instance() *EnvSettings {
}

// GetLibHome returns the LibHome value from the singleton instance of EnvSettings.
// Deprecated: use KCL_LIB_HOME env to set the kcl lib home
func GetLibHome() string {
return instance().LibHome
}

// SetLibHome sets the LibHome value in the singleton instance of EnvSettings.
// Deprecated: use KCL_LIB_HOME env to get the kcl lib home
func SetLibHome(value string) {
mu.Lock()
defer mu.Unlock()
Expand Down
75 changes: 0 additions & 75 deletions pkg/path/home.go

This file was deleted.

45 changes: 0 additions & 45 deletions pkg/path/lazypath.go

This file was deleted.

24 changes: 0 additions & 24 deletions pkg/path/lazypath_darwin.go

This file was deleted.

29 changes: 0 additions & 29 deletions pkg/path/lazypath_unix.go

This file was deleted.

29 changes: 0 additions & 29 deletions pkg/path/lazypath_windows.go

This file was deleted.

18 changes: 0 additions & 18 deletions pkg/path/lib.go

This file was deleted.

0 comments on commit e48f9f2

Please sign in to comment.