From 27d6933f3ec6084dfb99d6c24f14de81f1ac6d82 Mon Sep 17 00:00:00 2001 From: Logan Hanks Date: Wed, 19 Feb 2020 12:16:51 -0800 Subject: [PATCH] Update github.com/unknwon/com imports --- cmd/analogy.go | 4 ++-- cmd/predict.go | 4 ++-- cmd/sentence.go | 6 +++--- cmd/wordvec.go | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/cmd/analogy.go b/cmd/analogy.go index 6d84711..c184b74 100644 --- a/cmd/analogy.go +++ b/cmd/analogy.go @@ -3,10 +3,10 @@ package cmd import ( "fmt" - "github.com/Unknwon/com" - "github.com/k0kubun/pp" fasttext "github.com/bountylabs/go-fasttext" + "github.com/k0kubun/pp" "github.com/spf13/cobra" + "github.com/unknwon/com" ) var ( diff --git a/cmd/predict.go b/cmd/predict.go index 3299d0a..5d429da 100644 --- a/cmd/predict.go +++ b/cmd/predict.go @@ -3,10 +3,10 @@ package cmd import ( "fmt" - "github.com/Unknwon/com" - "github.com/k0kubun/pp" fasttext "github.com/bountylabs/go-fasttext" + "github.com/k0kubun/pp" "github.com/spf13/cobra" + "github.com/unknwon/com" ) var ( diff --git a/cmd/sentence.go b/cmd/sentence.go index f4d9828..c60cad4 100644 --- a/cmd/sentence.go +++ b/cmd/sentence.go @@ -3,10 +3,10 @@ package cmd import ( "fmt" - "github.com/Unknwon/com" - "github.com/k0kubun/pp" fasttext "github.com/bountylabs/go-fasttext" + "github.com/k0kubun/pp" "github.com/spf13/cobra" + "github.com/unknwon/com" ) // predictCmd represents the predict command @@ -35,6 +35,6 @@ var sentenceCmd = &cobra.Command{ } func init() { - sentenceCmd.Flags().StringVarP(&modelPath, "model", "m", "", "path to the fasttext model") + sentenceCmd.Flags().StringVarP(&modelPath, "model", "m", "", "path to the fasttext model") rootCmd.AddCommand(sentenceCmd) } diff --git a/cmd/wordvec.go b/cmd/wordvec.go index 1cb2023..8f8714c 100644 --- a/cmd/wordvec.go +++ b/cmd/wordvec.go @@ -3,10 +3,10 @@ package cmd import ( "fmt" - "github.com/Unknwon/com" - "github.com/k0kubun/pp" fasttext "github.com/bountylabs/go-fasttext" + "github.com/k0kubun/pp" "github.com/spf13/cobra" + "github.com/unknwon/com" ) // var (