ailistener

git clone git://archive.git.mtrnord.blog/OpenHomeAuto/ailistener.git
Log | Files | Refs | LICENSE

commit 86d98525284d81cad8e435311c42308a5932197a
parent 1044ae0ebc0f619669ef3d61e7098debf8705d11
Author: MTRNord <mtrnord1@gmail.com>
Date:   Thu, 28 Jun 2018 19:54:27 +0200

Move to correct package

Diffstat:
M.idea/usage.statistics.xml | 6++++--
Mcmd/root.go | 6+++---
Mmain.go | 2+-
Mpkg/dflow/dflow.go | 2+-
Mpkg/webhook/webhook.go | 4++--
5 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/.idea/usage.statistics.xml b/.idea/usage.statistics.xml @@ -5,7 +5,7 @@ <usages-collector id="statistics.file.extensions.open"> <counts> <entry key="gitignore" value="1" /> - <entry key="go" value="37" /> + <entry key="go" value="38" /> <entry key="lock" value="1" /> <entry key="md" value="1" /> <entry key="toml" value="2" /> @@ -14,7 +14,7 @@ <usages-collector id="statistics.file.types.open"> <counts> <entry key="Git file" value="1" /> - <entry key="Go" value="37" /> + <entry key="Go" value="38" /> <entry key="Markdown" value="1" /> <entry key="TOML file" value="3" /> </counts> @@ -23,12 +23,14 @@ <counts> <entry key="gitignore" value="3" /> <entry key="go" value="1130" /> + <entry key="txt" value="14" /> </counts> </usages-collector> <usages-collector id="statistics.file.types.edit"> <counts> <entry key="Git file" value="3" /> <entry key="Go" value="1130" /> + <entry key="PLAIN_TEXT" value="14" /> </counts> </usages-collector> <usages-collector id="statistics.go.postfix.template.usages.trigger" /> diff --git a/cmd/root.go b/cmd/root.go @@ -18,8 +18,8 @@ import ( "fmt" "os" - "github.com/Nordgedanken/homeAutomation/pkg/util" - "github.com/Nordgedanken/homeAutomation/pkg/webhook" + "github.com/OpenHomeAuto/AiListener/pkg/util" + "github.com/OpenHomeAuto/AiListener/pkg/webhook" "github.com/spf13/cobra" ) @@ -27,7 +27,7 @@ var cfgFile string // rootCmd represents the base command when called without any subcommands var rootCmd = &cobra.Command{ - Use: "homeAutomation", + Use: "AiListener", Short: "A brief description of your application", Long: `A longer description that spans multiple lines and likely contains examples and usage of using your application. For example: diff --git a/main.go b/main.go @@ -14,7 +14,7 @@ package main -import "github.com/Nordgedanken/homeAutomation/cmd" +import "github.com/OpenHomeAuto/AiListener/cmd" func main() { cmd.Execute() diff --git a/pkg/dflow/dflow.go b/pkg/dflow/dflow.go @@ -3,7 +3,7 @@ package dflow import ( dflow "cloud.google.com/go/dialogflow/apiv2" "context" - "github.com/Nordgedanken/homeAutomation/pkg/util" + "github.com/OpenHomeAuto/AiListener/pkg/util" "google.golang.org/api/option" dialogflowpb "google.golang.org/genproto/googleapis/cloud/dialogflow/v2" ) diff --git a/pkg/webhook/webhook.go b/pkg/webhook/webhook.go @@ -4,8 +4,8 @@ import ( "crypto/tls" "encoding/json" "fmt" - "github.com/Nordgedanken/homeAutomation/pkg/dflow" - "github.com/Nordgedanken/homeAutomation/pkg/util" + "github.com/OpenHomeAuto/AiListener/pkg/dflow" + "github.com/OpenHomeAuto/AiListener/pkg/util" "github.com/gorilla/mux" df "github.com/leboncoin/dialogflow-go-webhook" "golang.org/x/crypto/acme/autocert"