Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLazyRootDirectory ¶
func GetLazyRootDirectory() string
GetLazyRootDirectory finds a lazy project root directory.
It's used for cheatsheet scripts and integration tests. Not to be confused with finding the root directory of _any_ random repo.
Types ¶
type OnceWriter ¶
type OnceWriter struct {
// contains filtered or unexported fields
}
func NewOnceWriter ¶
func NewOnceWriter(writer io.Writer, f func()) *OnceWriter
Click to show internal directories.
Click to hide internal directories.