We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d77ca3f commit efb6ca8Copy full SHA for efb6ca8
dot/dot.go
@@ -15,7 +15,7 @@
15
// import (
16
// "fmt"
17
// "runtime"
18
-// . "github.com/MakeNowJust/heredoc/dot"
+// . "github.com/MakeNowJust/heredoc/v2/dot"
19
// )
20
//
21
// func main() {
@@ -27,7 +27,7 @@
27
// }
28
package heredoc_dot
29
30
-import "github.com/MakeNowJust/heredoc"
+import "github.com/MakeNowJust/heredoc/v2"
31
32
// Shortcut heredoc.Doc.
33
func D(raw string) string {
example_test.go
@@ -6,10 +6,9 @@ package heredoc_test
6
7
import (
8
"fmt"
9
+ "github.com/MakeNowJust/heredoc/v2"
10
)
11
12
-
13
func ExampleDoc_lipsum() {
14
fmt.Print(heredoc.Doc(`
Lorem ipsum dolor sit amet, consectetur adipisicing elit,
0 commit comments