Skip to content

Commit

Permalink
Update go mod path
Browse files Browse the repository at this point in the history
  • Loading branch information
huacnlee committed Nov 19, 2021
1 parent 4c42e2f commit 2954451
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# OpenCC for Go

[![Go](https://github.com/griffinqiu/opencc/workflows/Go/badge.svg)](https://github.com/griffinqiu/opencc/actions?query=workflow%3AGo)
[![Go](https://github.com/longbridgeapp/opencc/workflows/Go/badge.svg)](https://github.com/longbridgeapp/opencc/actions?query=workflow%3AGo)

This is a Go version of OpenCC([Open Chinese Convert 開放中文轉換](https://github.com/BYVoid/OpenCC/)) which is a project for conversion between Traditional and Simplified Chinese developed by [BYVoid](https://www.byvoid.com/).

Expand All @@ -9,7 +9,7 @@ This is a Go version of OpenCC([Open Chinese Convert 開放中文轉換](https:/
## Installation

```sh
go get github.com/griffinqiu/opencc
go get github.com/longbridgeapp/opencc
```

## Usage
Expand All @@ -21,7 +21,7 @@ import (
"fmt"
"log"

"github.com/griffinqiu/opencc"
"github.com/longbridgeapp/opencc"
)

func main() {
Expand Down Expand Up @@ -62,7 +62,7 @@ func main() {

## Benchmarks

See [benchmark_test.go](https://github.com/griffinqiu/opencc/tree/master/tests/benchmark_test.go)
See [benchmark_test.go](https://github.com/longbridgeapp/opencc/tree/master/tests/benchmark_test.go)

### Short text (100 chars)

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/griffinqiu/opencc
module github.com/longbridgeapp/opencc

go 1.16

Expand Down
2 changes: 1 addition & 1 deletion opencc.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func defaultDir() string {
return `C:\gocc\`
}
if goPath, ok := os.LookupEnv("GOPATH"); ok {
return goPath + "/src/github.com/griffinqiu/opencc/"
return goPath + "/src/github.com/longbridgeapp/opencc/"
} else {
return `/usr/local/share/gocc/`
}
Expand Down
2 changes: 1 addition & 1 deletion tests/benchmark_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package opencc
import (
"testing"

"github.com/griffinqiu/opencc"
"github.com/longbridgeapp/opencc"
)

func BenchmarkConvert_s2t_short(b *testing.B) {
Expand Down
2 changes: 1 addition & 1 deletion tests/s2t_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strings"
"testing"

"github.com/griffinqiu/opencc"
"github.com/longbridgeapp/opencc"
"github.com/sergi/go-diff/diffmatchpatch"
)

Expand Down

0 comments on commit 2954451

Please sign in to comment.