Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateIfNotExists ¶ added in v0.3.4
CreateIfNotExists examines a path and if it is not present, creates the passed file type for the given path
func ExtractURLs ¶ added in v0.6.17
ExtractURLs extracts a list of valid URLs from a given URL
func FilterGitHubURLs ¶ added in v0.6.17
FilterGitHubURLs returns a list of valid GitHub URLs given a list of URLs
func StringInSlice ¶
StringInSlice checks whether a given string is in a slice
Types ¶
type BoundedLineBuf ¶ added in v0.6.17
type BoundedLineBuf struct {
// contains filtered or unexported fields
}
BoundedLineBuf is a io.Writer-compatible object that absorbs written bytes and truncates each line in its buffer to the specified max line length when FlushTo is called
func NewBoundedLineBuf ¶ added in v0.6.17
func NewBoundedLineBuf(buf []byte, lineLen int) *BoundedLineBuf
NewBoundedLineBuf constructs a new BoundedLineBuf
Click to show internal directories.
Click to hide internal directories.