Documentation ¶
Index ¶
Constants ¶
View Source
const PRESENT_PKG = "golang.org/x/tools/present"
View Source
const REPRESENT_PKG = "github.com/cmars/represent"
Variables ¶
View Source
var CR = []byte{0x0c}
CR represents a carriage-return.
View Source
var CRLF = []byte{0x0c, 0x0a}
CRLF represents a carriage-return/line-feed sequence.
View Source
var LF = []byte{0x0a}
LF represents a line-feed, the only sensible choice.
Functions ¶
Types ¶
type Represent ¶
type Represent struct {
// contains filtered or unexported fields
}
Represent provides functions to publish a directory tree of files in the Present format.
func NewRepresent ¶
NewRepresent builds a new, initialized Represent struct for processing the given base directory. If srcDir is the empty string, base directory is assumed to be the current working directory.
Click to show internal directories.
Click to hide internal directories.