1# heredoc
2
3[![Build Status](https://circleci.com/gh/MakeNowJust/heredoc.svg?style=svg)](https://circleci.com/gh/MakeNowJust/heredoc) [![GoDoc](https://godoc.org/github.com/MakeNowJusti/heredoc?status.svg)](https://godoc.org/github.com/MakeNowJust/heredoc)
4
5## About
6
7Package heredoc provides the here-document with keeping indent.
8
9## Install
10
11```console
12$ go get github.com/MakeNowJust/heredoc
13```
14
15## Import
16
17```go
18// usual
19import "github.com/MakeNowJust/heredoc"
20```
21
22## Example
23
24```go
25package main
26
27import (
28	"fmt"
29	"github.com/MakeNowJust/heredoc"
30)
31
32func main() {
33	fmt.Println(heredoc.Doc(`
34		Lorem ipsum dolor sit amet, consectetur adipisicing elit,
35		sed do eiusmod tempor incididunt ut labore et dolore magna
36		aliqua. Ut enim ad minim veniam, ...
37	`))
38	// Output:
39	// Lorem ipsum dolor sit amet, consectetur adipisicing elit,
40	// sed do eiusmod tempor incididunt ut labore et dolore magna
41	// aliqua. Ut enim ad minim veniam, ...
42	//
43}
44```
45
46## API Document
47
48 - [heredoc - GoDoc](https://godoc.org/github.com/MakeNowJust/heredoc)
49
50## License
51
52This software is released under the MIT License, see LICENSE.
53