From c68689c6a6bd3397b45455b21ded7e9213d0d359 Mon Sep 17 00:00:00 2001 From: ymmt Date: Mon, 10 Nov 2014 12:40:55 +0900 Subject: [PATCH] Adopt new import paths for Go sub-repositories. See https://groups.google.com/forum/#!topic/golang-announce/eD8dh3T9yyA --- README.md | 2 +- export.go | 11 ++++++----- import.go | 13 +++++++------ main.go | 13 +++++++------ 4 files changed, 21 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 3e93758..2e1abdd 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ Install dependencies $ go get github.com/cybozu/go-kintone $ go get github.com/howeyc/gopass - $ go get code.google.com/p/go.text/encoding + $ go get golang.org/x/text/encoding build diff --git a/export.go b/export.go index c116b07..0b0e4a6 100644 --- a/export.go +++ b/export.go @@ -1,14 +1,15 @@ package main import ( - "github.com/cybozu/go-kintone" - "code.google.com/p/go.text/transform" - "sort" "fmt" - "strings" - "time" "io" "os" + "sort" + "strings" + "time" + + "github.com/cybozu/go-kintone" + "golang.org/x/text/transform" ) diff --git a/import.go b/import.go index d03d7e6..aac9fdd 100644 --- a/import.go +++ b/import.go @@ -1,16 +1,17 @@ package main import ( - "github.com/cybozu/go-kintone" - "code.google.com/p/go.text/transform" - "fmt" - "strings" - "time" "encoding/csv" + "fmt" "io" "os" - "strconv" "regexp" + "strings" + "strconv" + "time" + + "github.com/cybozu/go-kintone" + "golang.org/x/text/transform" ) func getReader(file *os.File) io.Reader { diff --git a/main.go b/main.go index 9d9cea7..ab4f6d5 100644 --- a/main.go +++ b/main.go @@ -1,15 +1,16 @@ package main import ( - "code.google.com/p/go.text/encoding" - "code.google.com/p/go.text/encoding/japanese" - "code.google.com/p/go.text/encoding/unicode" - "github.com/cybozu/go-kintone" - "github.com/howeyc/gopass" "flag" - "log" "fmt" + "log" "strings" + + "github.com/cybozu/go-kintone" + "github.com/howeyc/gopass" + "golang.org/x/text/encoding" + "golang.org/x/text/encoding/japanese" + "golang.org/x/text/encoding/unicode" ) type Configure struct {