From efb6ca8de9d5385c3963279701760e37637cf238 Mon Sep 17 00:00:00 2001 From: Kitsune TSUYUSATO Date: Mon, 26 Aug 2019 21:03:31 +0900 Subject: [PATCH] fix: import path --- dot/dot.go | 4 ++-- example_test.go | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/dot/dot.go b/dot/dot.go index f5cadb2..30424fa 100644 --- a/dot/dot.go +++ b/dot/dot.go @@ -15,7 +15,7 @@ // import ( // "fmt" // "runtime" -// . "github.com/MakeNowJust/heredoc/dot" +// . "github.com/MakeNowJust/heredoc/v2/dot" // ) // // func main() { @@ -27,7 +27,7 @@ // } package heredoc_dot -import "github.com/MakeNowJust/heredoc" +import "github.com/MakeNowJust/heredoc/v2" // Shortcut heredoc.Doc. func D(raw string) string { diff --git a/example_test.go b/example_test.go index b3b288f..636cd9e 100644 --- a/example_test.go +++ b/example_test.go @@ -6,10 +6,9 @@ package heredoc_test import ( "fmt" + "github.com/MakeNowJust/heredoc/v2" ) -import "github.com/MakeNowJust/heredoc" - func ExampleDoc_lipsum() { fmt.Print(heredoc.Doc(` Lorem ipsum dolor sit amet, consectetur adipisicing elit,