Registry / utility / makenowjust-heredoc

makenowjust-heredoc

JSON →
library1.0.0gogounverified

Provides creation of here-documents from raw strings, preserving indentation.

go get github.com/MakeNowJust/heredoc
INSTALL
IMPORT
SIG · MAKENOWJUST-HEREDO
M
makenowjust-heredoc
utilitygov1.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

heredoc
github.com/MakeNowJust/heredoc

Create a here-document with proper indentation

package main import ( "fmt" "github.com/MakeNowJust/heredoc" ) func main() { s := heredoc.Doc(` Hello World `) fmt.Println(s) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
makenowjust-heredoc — go get makenowjust-heredoc · libregistry