Skip to content

Commit cf92051

Browse files
committed
chore: bump repo name to lib
Signed-off-by: peefy <[email protected]>
1 parent 10f7049 commit cf92051

15 files changed

+25
-27
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
### How to Use
66

77
```shell
8-
cargo add kcl-lang
8+
cargo add --git https://github.com/kcl-lang/lib --branch main
99
```
1010

1111
Write the Code
@@ -32,7 +32,7 @@ fn main() -> Result<()> {
3232
### How to Use
3333

3434
```shell
35-
go get kcl-lang.io/kcl-artifact-go
35+
go get kcl-lang.io/lib
3636
```
3737

3838
Write the Code
@@ -41,7 +41,7 @@ Write the Code
4141
package main
4242

4343
import (
44-
artifact "kcl-lang.io/kcl-artifact-go"
44+
artifact "kcl-lang.io/lib"
4545
)
4646

4747
func main() {

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
module kcl-lang.io/kcl-artifact-go
1+
module kcl-lang.io/lib
22

33
go 1.19

install.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package kclvm_artifact
1+
package lib
22

33
import (
44
"fmt"

install_lib_unix.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//go:build linux || darwin
22
// +build linux darwin
33

4-
package kclvm_artifact
4+
package lib
55

66
import (
77
"runtime"

install_lib_windows.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package kclvm_artifact
1+
package lib
22

33
func installLib(libDir, libName string, versionMatched bool) error {
44
libFullName := libName + ".dll"

kclvm_cli_shared_lib_darwin_amd64.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package kclvm_artifact
1+
package lib
22

33
import (
44
_ "embed"

kclvm_cli_shared_lib_darwin_arm64.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package kclvm_artifact
1+
package lib
22

33
import (
44
_ "embed"

kclvm_cli_shared_lib_linux_amd64.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package kclvm_artifact
1+
package lib
22

33
import (
44
_ "embed"

kclvm_cli_shared_lib_linux_arm64.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package kclvm_artifact
1+
package lib
22

33
import (
44
_ "embed"

kclvm_cli_shared_lib_windows_amd64.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package kclvm_artifact
1+
package lib
22

33
import (
44
_ "embed"

0 commit comments

Comments
 (0)