From c92cc5b0542c3912ce36606cdac120c45f7084d9 Mon Sep 17 00:00:00 2001 From: itchyny Date: Thu, 17 Mar 2022 10:44:15 +0900 Subject: [PATCH 1/3] update library document to pkg.go.dev --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f37fc34..1b1cd42 100644 --- a/README.md +++ b/README.md @@ -31,13 +31,13 @@ To import this package: import "github.com/kintone/go-kintone" -Visit the docs on [godoc.org][godoc]. +Visit the docs on [pkg.go.dev][pkggodev]. [kintone]: https://www.kintone.com/ [APIen]: https://developer.kintone.io/hc/en-us [APIja]: https://developer.cybozu.io/hc/ja [bsd2]: http://opensource.org/licenses/BSD-2-Clause -[godoc]: http://godoc.org/github.com/kintone/go-kintone +[pkggodev]: https://pkg.go.dev/github.com/kintone/go-kintone ## Copyright From c3a206ebf5cc448ceb229e12e035e99218181ea7 Mon Sep 17 00:00:00 2001 From: itchyny Date: Thu, 17 Mar 2022 10:47:02 +0900 Subject: [PATCH 2/3] support Go modules --- go.mod | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 go.mod diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..543ade3 --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module github.com/kintone/go-kintone + +go 1.17 From 272790ce452128d6a76c6c1ced487a23039cb6e4 Mon Sep 17 00:00:00 2001 From: itchyny Date: Thu, 17 Mar 2022 10:53:58 +0900 Subject: [PATCH 3/3] update library path to kintone-labs --- README.md | 4 ++-- app.go | 4 ++-- doc.go | 2 +- go.mod | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 1b1cd42..6fdca42 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ This software is licensed under [the BSD 2-clause license][bsd2]. To import this package: - import "github.com/kintone/go-kintone" + import "github.com/kintone-labs/go-kintone" Visit the docs on [pkg.go.dev][pkggodev]. @@ -37,7 +37,7 @@ Visit the docs on [pkg.go.dev][pkggodev]. [APIen]: https://developer.kintone.io/hc/en-us [APIja]: https://developer.cybozu.io/hc/ja [bsd2]: http://opensource.org/licenses/BSD-2-Clause -[pkggodev]: https://pkg.go.dev/github.com/kintone/go-kintone +[pkggodev]: https://pkg.go.dev/github.com/kintone-labs/go-kintone ## Copyright diff --git a/app.go b/app.go index da62df6..f0564ca 100644 --- a/app.go +++ b/app.go @@ -84,7 +84,7 @@ func (f UpdateKey) MarshalJSON() ([]byte, error) { // import ( // "appengine" // "appengine/urlfetch" -// "github.com/kintone/go-kintone" +// "github.com/kintone-labs/go-kintone" // "net/http" // ) // @@ -99,7 +99,7 @@ func (f UpdateKey) MarshalJSON() ([]byte, error) { // import ( // "net/http" // "net/url" -// "github.com/kintone/go-kintone" +// "github.com/kintone-labs/go-kintone" // ) // // func main() { diff --git a/doc.go b/doc.go index b68210f..763ae6d 100644 --- a/doc.go +++ b/doc.go @@ -6,7 +6,7 @@ See https://developer.kintone.io for API specs. import ( "log" - "github.com/kintone/go-kintone" + "github.com/kintone-labs/go-kintone" ) ... app := &kintone.App{ diff --git a/go.mod b/go.mod index 543ade3..16156d0 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ -module github.com/kintone/go-kintone +module github.com/kintone-labs/go-kintone go 1.17