MCPcopy Index your code
hub / github.com/makenowjust/heredoc

github.com/makenowjust/heredoc @v2.0.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.0.1 ↗ · + Follow
13 symbols 23 edges 4 files 7 documented · 54% 113 cross-repo links updated 18mo agov2.0.1 · 2019-08-27★ 179

Browse by type

Functions 12 Types & classes 1
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

heredoc

Version Build Status GoDoc

About

Package heredoc provides the here-document with keeping indent.

Import

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

Example

package main

import (
    "fmt"

    "github.com/MakeNowJust/heredoc/v2"
)

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.

Core symbols most depended-on inside this repo

Shape

Function 12
Struct 1

Languages

Go100%

Modules by API surface

heredoc.go5 symbols
heredoc_test.go3 symbols
example_test.go3 symbols
dot/dot.go2 symbols

For agents

$ claude mcp add heredoc \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page