Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSpeakerByPath ¶
GetSpeakerByPath searches speaker by path
func ParseSpeakers ¶
ParseSpeakers parses speakers from string line
Types ¶
type ReadWrapper ¶
type ReadWrapper struct {
// contains filtered or unexported fields
}
ReadWrapper wraps file or uses stdin
func NewReadWrapper ¶
func NewReadWrapper(file string) (*ReadWrapper, error)
NewReadWrapper tries open file or uses stdin if file is empty
type WriteWrapper ¶
type WriteWrapper struct {
// contains filtered or unexported fields
}
WriteWrapper wraps file or uses stdout
func NewWriteWrapper ¶
func NewWriteWrapper(file string) (*WriteWrapper, error)
NewWriteWrapper tries open file or uses stdout if file is empty
func (*WriteWrapper) Write ¶
func (ww *WriteWrapper) Write(p []byte) (int, error)
Write is main writer method
func (*WriteWrapper) WriteString ¶
func (ww *WriteWrapper) WriteString(s string) (int, error)
WriteString implement StringWritter
Click to show internal directories.
Click to hide internal directories.