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,