kops/vendor/github.com/MakeNowJust/heredoc
Ole Markus With 7bc8281e54 Bump K8s libs to 0.25.0
This also bumps go mod version to 1.19
2022-08-24 07:17:14 +02:00
..
v2 Remove bazel files from vendor 2022-04-12 13:29:03 +02:00
LICENSE Bump K8s libs to 0.25.0 2022-08-24 07:17:14 +02:00
README.md Bump K8s libs to 0.25.0 2022-08-24 07:17:14 +02:00
heredoc.go Bump K8s libs to 0.25.0 2022-08-24 07:17:14 +02:00

README.md

heredoc

Build Status GoDoc

About

Package heredoc provides the here-document with keeping indent.

Install

$ go get github.com/MakeNowJust/heredoc

Import

// usual
import "github.com/MakeNowJust/heredoc"

Example

package main

import (
	"fmt"
	"github.com/MakeNowJust/heredoc"
)

func main() {
	fmt.Println(heredoc.Doc(`
		Lorem ipsum dolor sit amet, consectetur adipisicing elit,
		sed do eiusmod tempor incididunt ut labore et dolore magna
		aliqua. Ut enim ad minim veniam, ...
	`))
	// Output:
	// Lorem ipsum dolor sit amet, consectetur adipisicing elit,
	// sed do eiusmod tempor incididunt ut labore et dolore magna
	// aliqua. Ut enim ad minim veniam, ...
	//
}

API Document

License

This software is released under the MIT License, see LICENSE.