Registry / utility / makenowjust-heredoc-v2

makenowjust-heredoc-v2

JSON →
library2.0.1gogounverified

Package heredoc provides creation of here-documents from raw strings, preserving indentation and formatting.

go get github.com/MakeNowJust/heredoc/v2
INSTALL
IMPORT
SIG · MAKENOWJUST-HEREDO
M
makenowjust-heredoc-v2
utilitygov2.0.1
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/v2

Creates a heredoc string with proper indentation removal.

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

No known issues recorded.

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

No dependency data recorded yet.

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