From 3c5cd31308819aee9956fa81cf32e081c38d8d31 Mon Sep 17 00:00:00 2001 From: saltbo Date: Mon, 7 Feb 2022 22:40:47 +0800 Subject: [PATCH] chore: update the package name --- cmd/init.go | 2 +- cmd/root.go | 2 +- generator/generator.go | 2 +- go.mod | 2 +- main.go | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cmd/init.go b/cmd/init.go index 6536c5a..09a4223 100644 --- a/cmd/init.go +++ b/cmd/init.go @@ -22,7 +22,7 @@ THE SOFTWARE. package cmd import ( - "notion-md-gen/generator" + "github.com/bonaysoft/notion-md-gen/generator" "github.com/spf13/cobra" ) diff --git a/cmd/root.go b/cmd/root.go index 047200a..7cc7e86 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -5,7 +5,7 @@ import ( "log" "os" - "notion-md-gen/generator" + "github.com/bonaysoft/notion-md-gen/generator" "github.com/joho/godotenv" "github.com/spf13/cobra" diff --git a/generator/generator.go b/generator/generator.go index 1fb6c30..094b613 100644 --- a/generator/generator.go +++ b/generator/generator.go @@ -9,7 +9,7 @@ import ( "strings" "time" - "notion-md-gen/pkg/tomarkdown" + "github.com/bonaysoft/notion-md-gen/pkg/tomarkdown" "github.com/dstotijn/go-notion" ) diff --git a/go.mod b/go.mod index 56ced67..27c5d12 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module notion-md-gen +module github.com/bonaysoft/notion-md-gen go 1.17 diff --git a/main.go b/main.go index c5ee335..abe3401 100644 --- a/main.go +++ b/main.go @@ -1,6 +1,6 @@ package main -import "notion-md-gen/cmd" +import "github.com/bonaysoft/notion-md-gen/cmd" func main() { cmd.Execute()